[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: <oyvind.bjorge (at) telenor.com>
- Date: Fri, 27 Feb 2009 15:31:49 +0100
- Accept-language: nb-NO
- Acceptlanguage: nb-NO
- References: <AACF146A905C56469D90CCF0C68460780C4D6DCB40 (at) TNS-FBU-2E-016.corp.telenor.no> <0F1BC5A8E4136541B8E1AFD72E123BEC0395E016 (at) GBOEXCH001.ad.minjus.nl>
- Thread-index: AcmY2gXlQQRC30dbRQW5FAHBv2cUAQABCmVgAAJOHMA=
- Thread-topic: [hobbit] apache
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