Re: AFter the URL in PHP
| From: | Justin French | Date: | Sat, 24 Jan 2004 07:12:26 +0000 |
| Subject: | Re: AFter the URL in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175622@lists.php.net to get a copy of this message | ||
On Saturday, January 24, 2004, at 05:57 PM, Randy Johnson wrote:
Hello, I am not sure if this is a php thing or not but hope is... I see some sites like this: www.domain.com/tree where tree is not a directory for example www.domain.com/tree/ would not work the word tree above is not really a directory but a username or id or whatever.... Anybody know what I am talking about?Apache mod_rewrite. Typically, it can be used for things like [internally] converting the url from... http://example.com/articles/45/ ...to... http://example.com/articles.php?id=45 It's a big can of worms to open, but searching for 'mod_rewrite tutorial' on google, or looking at the sitepoint.com forums (they have a mod_rewrite forum especially) and do some research. Either way, it's not really a PHP question :) Justin French