Urls, apache and PHP
| From: | Anderson, P.D. | Date: | Tue, 13 May 2003 14:55:06 +0000 |
| Subject: | Urls, apache and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147447@lists.php.net to get a copy of this message | ||
Hi,
I have been using the url to pass variables to be used in php files.
For example
Mysite.com/do.php/1/5 ( and not Mysite.com/do.php?var1=1&var2=5 )
Using the list command I extract the variables (for example $var1=1;$var2=5)
Always worked perfect for Unix + Apache 1.3x..+ php 2.x/3.x/4.x (as modules)
+ mysql 3.x.
Now, I upgraded to RedHat 9.0 with Apache 2.0 and it complains that
do.php/1/5 is not a existing object/file (404 error).
Could anyone please help me out and tell me how to change php.ini or
httpd.conf to accept my 'old' way or passing variables.
Thanks very much,
Patrick