Re: What's wrong with this rewrite rule?
| From: | Michael | Date: | Wed, 02 Feb 2005 19:54:06 +0000 |
| Subject: | Re: What's wrong with this rewrite rule? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207927@lists.php.net to get a copy of this message | ||
Chris W. Parker wrote:
Hello, I've been messing with a certain rewrite rule for about 30 minutes now and it's driving me insane. I've got plenty of other rewrite rules working perfectly. Here is the rule in question. RewriteRule ^detail\.asp\?product_id=([\w-]+)$ product.php?id=$1You're insisting that the path to rewrite start with d. It's not going to start with d, it's going to start with /. As in "/detail.asp"... Easy thing to miss, though... Mike