[hobbit] Problem viewing "Critical Systems"
Bullers, Tom D.
Tom_D._Bullers at omb.eop.gov
Mon Dec 11 21:25:54 CET 2006
Here are the ScriptAlias settings from httpd.conf. They seem ok to me -
I can't see what might be wrong with them.
This directory: /home/s-hob1/hobbit/cgi-bin/ is where the nkview.sh
script lives that it is complaining about. The driectory is
ScriptAliased below in the 2nd stanza.
I am restarting Apache after a change to httpd.conf.
I am running Apache on port 10001. In my previos email I mentioned port
1000 but meant 10001.
Again the error occurs when I select "Critical Systems" from the views
prompt.
Does the ScriptAlias directive look correct? Are there log files I can
look at to get more detailed info? I'm not getting much out of the
Apache logs and I can't find hobbit logs.
Thanks much.
-tom
Alias /s-hob/ "/home/s-hob1/hobbit/server/www/"
<Directory "/home/s-hob1/hobbit/server/www">
Options Indexes FollowSymLinks Includes MultiViews
Order allow,deny
Allow from all
</Directory>
ScriptAlias /s-hob-cgi/ "/home/s-hob1/hobbit/cgi-bin/"
<Directory "/home/s-hob1/hobbit/cgi-bin">
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
ScriptAlias /s-hob-seccgi/ "/home/s-hob1/hobbit/cgi-secure/"
<Directory "/home/s-hob1/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
/home/s-hob1/hobbit/server/etc/hobbitpasswd USERNAME"
# Add more users / change passwords with "htpasswd
/home/s-hob1/hobbit/server/etc/hobbitpasswd USERNAME"
#
# You can also use a group file to restrict admin access to members
of a
# group, instead of anyone who is logged in. In that case you must
setup
# the "hobbitgroups" file, and change the "Require" settings to
require
# a specific group membership. See the Apache docs for more details.
AuthUserFile /home/s-hob1/hobbit/server/etc/hobbitpasswd
AuthGroupFile /home/s-hob1/hobbit/server/etc/hobbitgroups
AuthType Basic
AuthName "Hobbit Administration"
# "valid-user" restricts access to anyone who is logged in.
Require valid-user
# "group admins" restricts access to users who have logged in, AND
# are members of the "admins" group in hobbitgroups.
# Require group admins
</Directory>
~~~~~~~~~~~~~~~~~~~~~~
Tom Bullers
Systems Administrator
Phone: (202)395-5678
mailto:tom_bullers at omb.eop.gov
> -----Original Message-----
> From: Henrik Stoerner [mailto:henrik at hswn.dk]
> Sent: Monday, December 11, 2006 11:36 AM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Problem viewing "Critical Systems"
>
> On Mon, Dec 11, 2006 at 11:20:43AM -0500, Bullers, Tom D. wrote:
>
> > I get the the same error, but with this browser it's a bit
> more descriptive -
> > "The file hobbit-nkview.sh" is of type application/x-sh,
> and Mozilla does not know how to handle this file type. The
> file is lcoated at: http://hostname:1000
> >
> > What should Mozilla do with this file?"
> >
> > It seems that Apache is trying to send the .sh file instead
> of executing it and forwarding the output.
>
> What's the full URL for that link you're clicking on ?
> "http://hostname:1000" doesn't look right, there must be
> something more
> than that.
>
> Check your Apache setup for the ScriptAlias settings. The results you
> get indicate that the directory with the hobbit-nkview.sh is
> considered
> a normal document directory by Apache, instead of a script (CGI)
> directory.
>
>
> Regards,
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>
More information about the Xymon
mailing list