Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

CGI Permission denied



12:37 pm on Nov 6, 2004 (gmt 0)

10+ Year Member

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.

error_log :
[Sat Nov 06 15:31:55 2004] [error] [client #*$!] (13)Permission denied: access to /cgi-bin/printenv.cgi denied

access_log :
#*$!- - [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.


9:25 am on Nov 8, 2004 (gmt 0)

10+ Year Member

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:


Featured Threads

Hot Threads This Week

Hot Threads This Month