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.
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.