Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Davi Leal
Joshua Slive wrote: > Davi Leal wrote: > > Does the rewrite engine not take into account the URI parameters? I get: > > > > init rewrite engine with requested uri /offers > > > > instead of > > > > init rewrite engine with requested uri /offers?

Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Davi Leal
yer. The current gnuherds.org URIs suck! Davi Leal wrote: > > That is to say: > > if "?id=" is present go to ViewOffer.php > > else go to Offers.php Does the rewrite engine not take into account the URI parameters? I get: init rewrite engin

[EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Davi Leal
Hi, How to do this: RewriteRule ^/offers?id=(.*) /ViewOffer.php?OfferId=$1 RewriteRule ^/offers(.*) /Offers.php$1 That is to say: if "id=" is present go to ViewOffer.php else go to Offers.php Best regards, Davi --