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?
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
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
--