httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Milanese <>
Subject Re: [users@httpd] redirect with query string
Date Wed, 03 Sep 2008 00:16:05 GMT

>----- Original Message ----
>From: "" <>
>Sent: Tuesday, September 2, 2008 4:39:22 PM
>Subject: Re: [users@httpd] redirect with query string
>Hi Stephen,
>I have to rewrite the full URL.
>If I go to:
>I have to be redirected to:
>Thank you,


  Regex needs to have some sort of formula to it. The problem is that there is no consistency
in the
two URLs that you're giving in order to put that into a formula. For example, there is no
to take URL 1 and jumble it up to make URL 2 because URL 2 injects paths AND variables that
not in URL 1. Apache cannot very well guess the answer to this. 
 Your best bet is to google Regular Expressions, try to get an idea of what it means. You
should also be
able to find some examples of how they work out there. Once you are better versed in the way
it works,
feel free to apply that to your question, and we can be of much more help!


View raw message