Re: URL rewriting...anybody done this?
| From: | Jason Wong | Date: | Thu, 15 Jan 2004 02:06:51 +0000 |
| Subject: | Re: URL rewriting...anybody done this? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174607@lists.php.net to get a copy of this message | ||
On Thursday 15 January 2004 09:28, Justin Patrin wrote:
> > RewriteEngine On
> > RewriteRule ^show/(.*)/(.*) /show.php?sid=$1&id=$2
>
> Try:
> RewriteRule ^show/([^/]*)/([^/]*) /show.php?sid=$1&id=$2
The original ought to work just fine -- I have it working here.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Don't put off for tomorrow what you can do today because if you enjoy it
today,
you can do it again tomorrow.
*/