Re: URL modification
| From: | Jason Pruim | Date: | Fri, 22 Feb 2008 13:29:28 +0000 |
| Subject: | Re: URL modification | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269852@lists.php.net to get a copy of this message | ||
On Feb 22, 2008, at 2:09 AM, Xavier de Lapeyre wrote:
Hi all, I saw on some websites that modifies the links to access the webpages. Something like: http://www.example.com/login/ instead of http://www.example.com/login.php Does anyone knows how this works or how its call / which PHP library performs this action?I do a version of this simply by creating a directory and then put a default file in... I have Apache set to recognize index.php, index.shtml, index.html etc. etc. etc. as default files, so when someone goes to www.raoset.com/contact/ the page that loads is: www.raoset.com/contact/index.shtml For my purposes it works great :) -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.com