[hobbit] Web server or hobbit?
    Everett, Vernon 
    Vernon.Everett at dpi.wa.gov.au
       
    Fri Jul 21 08:19:17 CEST 2006
    
    
  
Some extra info
When I right-click on a face icon, I get the Address as 
http://10.1.14.84/hobbit-cgi/bb-hostsvc.sh?HOSTSVC=shire.bbgen&IP=127.0.0.1&DISPLAYNAME=shire
Doing the same on the column descriptions gives me an Address of 
http://10.1.14.84/hobbit-cgi/hobbitcolumn.sh?hobbitd
Anybody see anything odd in that?
Regards
   Vernon
-----Original Message-----
From: Everett, Vernon [mailto:Vernon.Everett at dpi.wa.gov.au] 
Sent: Friday, 21 July 2006 1:46 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Web server or hobbit?
Yep, I got that.
Took what what generated in the ~hobbit/server/etc/hobbit-apache.conf and tacked it on the end of the httpd.conf.
(This has always worked for me in the past) See below for settings.
Regards
   Vernon
--- from httpd.conf ---
# NB: The "Alias" line below must NOT be used if you have
#     the Hobbit webfiles as the root URL. In that case,
#     you should instead set this:
#
#          DocumentRoot /export/home/hobbit//server/www
Alias /hobbit/  "/export/home/hobbit/server/www/"
<Directory "/export/home/hobbit/server/www">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
</Directory>
ScriptAlias /hobbit-cgi/ "/export/home/hobbit/cgi-bin/"
<Directory "/export/home/hobbit/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>
ScriptAlias /hobbit-seccgi/ "/export/home/hobbit/cgi-secure/"
<Directory "/export/home/hobbit/cgi-secure">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
    # Password file where users with access to these scripts are kept.
    # Create it with "htpasswd -c /export/home/hobbit/server/etc/hobbitpasswd USERNAME"
    # Add more users / change passwords with "htpasswd /export/home/hobbit/server/etc/hobbitpasswd USERNAME"
    AuthUserFile /export/home/hobbit/server/etc/hobbitpasswd
    AuthType Basic
    AuthName "Hobbit Administration"
    Require valid-user
</Directory
--- End ---
-----Original Message-----
From: kolbjorn.barmen at uninett.no [mailto:kolbjorn.barmen at uninett.no]
Sent: Friday, 21 July 2006 1:32 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Web server or hobbit?
On Fri, 21 Jul 2006, Everett, Vernon wrote:
> Hi all
> 
> I am installing a new Hobbit server, running 4.1.2p1 on Solaris 10 
> with Apache 2.2.0 It's starting to look good. I get the main hobbit 
> page come up, and many green faces smiling at me.
> However, whenever I click on a face, or any menu option that runs a 
> script, my browser opens a dialogue box and wants to start a download.
> :-(
> 
> When I go to the Hobbit home page with the same browser, it all works 
> OK, so I am certain it's either a stuff-up with my Hobbit install, or 
> an Apache server config problem.
> Everything in the ~hobbit/cgi-* is readable and executable by all.
> 
> What's happening here? Have I missed something?
You need to configure apache so that it knows that the cgi directories are indeed just that :)
Something like this
   ScriptAlias /hobbit-cgi/ "/usr/lib/hobbit/cgi-bin/"
   <Directory "/usr/lib/hobbit/cgi-bin">
       AllowOverride None
       Options ExecCGI Includes
   </Directory>
   ScriptAlias /hobbit-seccgi/ "/usr/lib/hobbit/cgi-secure/"
   <Directory "/usr/lib/hobbit/cgi-secure">
       AllowOverride None
       Options ExecCGI Includes
   </Directory>
--
Kolbjørn Barmen
UNINETT Driftsenter
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
    
    
More information about the Xymon
mailing list