Fw: [PHP] How to "--enable-force-cgi-redirect" in Win98
| From: | sb | Date: | Sun, 06 Aug 2000 16:28:14 +0000 |
| Subject: | Fw: [PHP] How to "--enable-force-cgi-redirect" in Win98 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10339@lists.php.net to get a copy of this message | ||
Can anyone give me even a small hint how I can correct the
following problem?
Would much appreciate your help.
-sb
----- Original Message -----
From: sb <sba@bol-online.com>
To: <php-general@lists.php.net>
Sent: Sunday, August 06, 2000 12:15 AM
Subject: [PHP] How to "--enable-force-cgi-redirect" in Win98
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
--