How to "--enable-force-cgi-redirect" in Win98
| From: | sb | Date: | Sat, 05 Aug 2000 18:15:21 +0000 |
| Subject: | How to "--enable-force-cgi-redirect" in Win98 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10263@lists.php.net to get a copy of this message | ||
Hi,
My operating system: win98
PHP version : php 3.0.16
Web server : apache 1.3
When I do a $PHP_SELF, the url in my browser shows as:
http://127.0.0.1/php3/php.exe/subdir/test.php3
Whereas I don't want the "php3/php.exe/" to be in the url:
http://127.0.0.1/subdir/test.php3
I think the solution is in using --enable-force-cgi-redirect
during compile-time. But I am using Win98, and don't know
how I would use this feature (considering this is the solution).
My httpd.conf in apache has the following entries:
ScriptAlias /php3/ "c:/php3/"
AddType application/x-httpd-php3 .php3
Action application/x-httpd-php3 "/php3/php.exe"
Thanks in advance,
sb