Welcome to WebmasterWorld Guest from 184.108.40.206 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
CGI Permission denied rasheed msg:1502964 12:37 pm on Nov 6, 2004 (gmt 0) I have installed Fedora 2 with Apache 2.0.49. Whenever I'm trying to run any CGI files under user home directories (ScriptAlias /cgi-bin/ "/home/cricket/public_html/cricket") I got "Forbidden". Below apache logs.
[Sat Nov 06 15:31:55 2004] [error] [client #*$!] (13)Permission denied: access to /cgi-bin/printenv.cgi denied
#*$!- - [06/Nov/2004:15:31:55 +0300] "GET /cgi-bin/printenv.cgi HTTP/1.1" 403 430
But if I change the ScriptAlias in httpd.conf and point to /var/www/cgi-bin and try to run the same script...it is ok.
jam13 msg:1502965 9:25 am on Nov 8, 2004 (gmt 0)
ScriptAlias is normally used to map a directory that is outside your document root. I'm not sure it works for folders that are already part of your web space.
ScriptAlias /cgi-bin/ "/home/cricket/cgi-bin"
and move your cgi to: