Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
CGI Permission denied rasheed
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.
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: