httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Munday <>
Subject Re: [users@httpd] Redirect a old dynamic URL to a new dynamic URL
Date Mon, 23 Jun 2008 14:11:50 GMT
Hi Nick,

Thanks for your response.

On 19 Jun 2008, at 17:25, Nick Kew wrote:

> On Thu, 19 Jun 2008 15:01:18 +0100
> Ian Munday <> wrote:
>> I'm using the .htaccess file
> Ouch!  That makes for slow and complex.

Is there a better way then?

>> However, using the old URLs with parameters does not work.  I  
>> wonder if this is a character escape issue, and have tried a few  
>> variations but have had no joy.  As an example, what I am trying to  
>> do, but that does not work, is:
>>     Redirect 301 /index.php?main_page=index&cPath=28
>>     Redirect 301 /index.php?main_page=index&cPath=57
> Indeed, that's the point where you need RewriteRule rather than  
> Redirect[1].  If you have access to httpd.conf, you should also look  
> at RewriteMap.

Can you point me at some examples of RewriteRule for what I'm trying  
to do above.  I've looked at the documentation at

, but don't see an example of this nature.  Or am I missing something  


View raw message