cgi-bin
| From: | Martin Sengstschmid | Date: | Sun, 26 Mar 2000 19:30:03 +0000 |
| Subject: | cgi-bin | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17254@lists.php.net to get a copy of this message | ||
I want to run a php-written File in the 'cgi-bin'-Directory of my apache webserver. I
wrote into httpd.conf:
<Directory "/usr/local/httpd/cgi-bin">
AllowOverrice None
Options None
Order allow, deny
Allow from all
ForceType application/x-httpd-php3
</Directory>
problem 1:
It doesn't work if the name of the file is e.g. test.php3 although it works if the file
test.php3 is in the public webtree e.g.
/usr/local/httpd/htdocs/test.php3
problem 2:
I want to run this file without extention: test (not test.php3)
Now I get Server Error 500 from the apache.
What is going wrong???
Thanks
Martin