[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] apache
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] apache
- From: "Kip, D. - GDI/SNB" <d.kip (at) gdi.minjus.nl>
- Date: Fri, 27 Feb 2009 14:23:21 +0100
- References: <AACF146A905C56469D90CCF0C68460780C4D6DCB40 (at) TNS-FBU-2E-016.corp.telenor.no>
- Thread-index: AcmY2gXlQQRC30dbRQW5FAHBv2cUAQABCmVg
- Thread-topic: [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 <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