You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/02/10 22:39:00 UTC
DO NOT REPLY [Bug 33504] New: -
ScriptAlias does not work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33504>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33504
Summary: ScriptAlias does not work
Product: Apache httpd-2.0
Version: 2.0.52
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: mod_cgi
AssignedTo: bugs@httpd.apache.org
ReportedBy: bobt@teeter.com
on apache 2.0.52 on fedora core 3 a ScriptAlias entry does not allow a script to
be run. It gives a Permission denied: exec of '/usr/local/nagios/sbin/test2.cgi'
failed. The conf system cgi-bin is a follows:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin" >
Options ExecCGI
AllowOverride None
Allow from all
Order allow,deny
</Directory>
My additional entry is as follows:
ScriptAlias "/nagios/cgi-bin/ "/usr/local/nagios/sbin/"
Options ExecCGI
AllowOverride None
Allow from all
Order allow,deny
</Directory>
Directories /usr, /usr/local, /usr/local/nagios, /usr/local/nagios/sbin
have been set to 777 and the file test1.cgi is set to 777
the test1.cgi file work just fine in /cgi-bin/ but when I copy it to
/nagios/cgi-bin/ I get the Permission denied error.
It appears that files in /cgi-bin/ work and others in /nagios/cgi-bin/ will not.
WHY??????
Bob Teeter
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org