.htaccess troubles...
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

.htaccess troubles...

From: John MacLeod <jm@roast.ca>
Date: Thu Nov 24 2005 - 17:14:22 CET

I'm having a problem using the .htaccess file to point my local installation
of php5 (located at www.mydomain.com/horde/cgi-bin/php5.cgi). As per the
instructions I was following I added the following to the .htaccess file
(located at www.mydomain.com/horde)...

<start quote>
#PHP 5.0.5 FINAL without security wrap
Action application/x-httpd-phpx /cgi-bin/php5.cgi
AddType application/x-httpd-phpx php php3 phtml php4 php5
<end quote>

...but when I run the sysinfo.php test script
(www.mydomain.com/horde/sysinfo.php) I get the following error...

<start quote>
Not Found
The requested URL /cgi-bin/php5.cgi/horde/sysinfo.php was not found on this
server.
<end quote>

Why is it sticking /cgi-bin/php5.cgi into the URL?

Thanks,
John
Received on Sat Dec 3 04:22:56 2005