Reply to Re: What's wrong with this rewrite rule?

Your name:

Reply:


Posted by Michael on 10/04/46 11:07

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=$1

You'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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация