CGI permissions make me mad!
Rick_Blair at fws.gov
Rick_Blair at fws.gov
Wed Sep 17 17:03:46 CEST 2003
Here is something I have tried on my own.
# su - nagios
$ export REQUEST_METHOD=GET
$ export REMOTE_USER=rblair
$ export QUERY_STRING="?hostgroup=all&style=summary"
$ /usr/local/nagios/lib/cgi/status.cgi > /tmp/output.html
This produces the proper html code that I can load into a browser.
I then changed apache to allow logins and did the same steps up above as
'su - apache'.
The cgi generated the error!
I do not understand this however since I have made all ownership
nagios:apache and even added apache to nagios group.
Does this make sense to anyone?
Rick Blair
Network Engineer
USFW
303.202.2687
jeff vier <jeff.vier at tradingtechnologies.com>
Sent by: nagios-users-admin at lists.sourceforge.net
09/16/2003 12:06 PM
To: nagios-users <nagios-users at lists.sourceforge.net>
cc:
Subject: Re: [Nagios-users] CGI permissions make me mad!
While not ideal, have you tried opening up permissions on things?
a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd
want to leave live, but it'll at least "fix" the problem enough to let
you know if it's a file permissions problem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030917/bf8b3ed8/attachment.html>
More information about the Users
mailing list