Re: hide php extension...
| From: | Geir Pedersen - Activio AS | Date: | Thu, 25 Mar 2004 05:09:08 +0000 |
| Subject: | Re: hide php extension... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181445@lists.php.net to get a copy of this message | ||
Hi, John!
There is an easy way to achieve what you are looking for without modifying
webserver configuration files.
Say you want to support an URL like http://www.example.com/search?foo=bar
Create a new subdirectory named "search" and place a default PHP script
named index.php in the new directory. The script will get called whenever
the URL above is read.
--
Geir Pedersen
http://www.activio.com/