[hobbit] apache
oyvind.bjorge at telenor.com
oyvind.bjorge at telenor.com
Fri Feb 27 15:31:49 CET 2009
Thank you for the suggstion, but it don't seems to be it.
I have tried to add both user nobody and the apache user to the xymon group.
I have given the group both x and r to the files.
The earlier problem I had was missing x to an above directory.
If I su - to apache it is alowed to read the files.
Any other suggestions?
Øyvind
Fra: Kip, D. - GDI/SNB [mailto:d.kip at gdi.minjus.nl]
Sendt: 27. februar 2009 14:23
Til: hobbit at hswn.dk
Emne: RE: [hobbit] apache
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, 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/2236eca2/attachment.html>
More information about the Xymon
mailing list