httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Leal <>
Subject Re: [users@httpd] RewriteEngine
Date Sat, 05 May 2007 09:55:42 GMT
Sascha Kersken wrote:
> why don't you have your PHP script ViewOffer.php do the redirection? Like:
> <?php
> if (!isset($_REQUEST['id'])) {
>   header ("Location: Offers.php");
> }

Because we were trying to realize all the URI redesign at the Apache rewrite 
layer.  The current 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 engine with requested uri /offers

instead of

  init rewrite engine with requested uri /offers?id=9


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message