[hobbit] apache

Kip, D. - GDI/SNB d.kip at gdi.minjus.nl
Fri Feb 27 14:23:21 CET 2009


Put user 'nobody' in the same group as the hobbit/xymon-user (typically 'hobbit'), that will help a lot in file-access.
And to make sure issue command ' cd /local/xymon; chmod -R g+r * '
 
Alternatively (but not recommended) make all files in hobbit-hierarchy worldreadable ( cd /local/xymon; chmod -R o+r * )

________________________________

Van: oyvind.bjorge at telenor.com [mailto:oyvind.bjorge at telenor.com] 
Verzonden: vrijdag 27 februari 2009 13:53
Aan: hobbit at hswn.dk
Onderwerp: [hobbit] apache


Hi all!
I have just installed a xymon server, but don't get the apache config correct.
I have added a directory and an alias in httpd.conf:
Alias /xymon/ "/local/xymon/server/www"
<Directory "/local/xymon/server/www">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
 
</Directory>
ScriptAlias /xymon-cgi/ "/local/xymon/cgi-bin/"
<directory "/local/xymon/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>
 
At first I got error messages with no access towards http://myserver/xymon <http://myserver/xymon> , but after adjusting filsystem rights I instead get a directory listing.
Index of /xymon
[ICO]   Name    Last modified   Size    Description
[DIR]   Parent Directory          -
[TXT]   bb.html 27-Feb-2009 12:29        7.9K
[TXT]   bb2.html        27-Feb-2009 12:29        2.7K
[TXT]   bbnk.html       27-Feb-2009 12:29        2.2K
[DIR]   gifs/   26-Jan-2009 16:28        -
[DIR]   help/   26-Jan-2009 16:28        -
[DIR]   html/   26-Jan-2009 16:28        -
[TXT]   index.html      27-Feb-2009 12:29        7.9K
[DIR]   menu/   26-Jan-2009 16:28        -
[DIR]   notes/  26-Jan-2009 16:28        -
[DIR]   rep/    26-Jan-2009 16:28        -
[DIR]   snap/   26-Jan-2009 16:28        -
[DIR]   wml/    26-Jan-2009 16:28        -
 
If I try to select index.html (or bb.html) or typing the filename in the url, I get an 404 error:
 
Not Found
 
The requested URL /xymon/index.html was not found on this server.
 
 
Any suggestions?
 
Øyvind
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090227/fe4c1dc8/attachment.html>


More information about the Xymon mailing list