[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

Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Davi Leal
! 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 engine with requested uri /offers instead of init rewrite engine with requested

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?id=9 In the docs for RewriteRule, see the big box marked