Xymon Mailing List Archive search

apache

list Josh Luthman
Tue, 3 Mar 2009 03:37:00 -0500
Message-Id: <user-a858ba85cc43@xymon.invalid>

Do you have a statement that looks like

Alias / somethinghere

by chance?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


On Tue, Mar 3, 2009 at 3:28 AM, pkc_mls <user-06f34394900f@xymon.invalid> wrote:
could you please copy/paste the related error from the error.log file in
the apache log directory ?

can you get access to the DocumentRoot of your apache server ?
ie http://myserver

user-9b0f7b358aa3@xymon.invalid a écrit :

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:user-a81387f605a8@xymon.invalid]
*Sendt:* 27. februar 2009 14:23
*Til:* user-ae9b8668bcde@xymon.invalid
*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:* user-9b0f7b358aa3@xymon.invalid [mailto:user-9b0f7b358aa3@xymon.invalid]
*Verzonden:* vrijdag 27 februari 2009 13:53
*Aan:* user-ae9b8668bcde@xymon.invalid
*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