Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No permission to access a test cgi

Status
Not open for further replies.

hisham

IS-IT--Management
Nov 6, 2000
194
Hello every one
I installed Apache and php in Linux box, every thing goes very well, I create a test cgi file and I put it in the cgi-bin directory, but always I get: Forbidden, you don’t have permission to access /cgi-bin/test.cgi in this server, in my httpd.conf I configured:
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/

<Directory “/usr/local/apache/cgi-bin/”>
AllowOverride None
Options +ExecCGI
</Directory>

AddHandler cgi-script .cgi .pl

PLS. Any body can tell me why I could not run the script.
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top