httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vik Rubenfeld <>
Subject [users@httpd] Search & Replace + Redirect with Mod_Rewrite?
Date Tue, 29 Apr 2008 16:52:00 GMT
I need to change the variable names in query strings. This is because  
I  need to get two different supplier companies talking to each other.  
(One supplier uses variable names that the other supplier doesn't  

So I'm getting supplier A to send the URL to one of my domains, where  
I can change the variable names in the query string, and then redirect  
to the web site of supplier B.

For example, I'd like to change:

 > test_3_data


Here's my current mod rewrite code, which gives me a "Internal Server  
Error" message:

 > Options +FollowSymLinks
 > Options +Indexes
 > RewriteEngine On
 > RewriteRule ^(.*)DDR2(.*)$ $1wsb5$2 [NC]
 > RewriteRule ^(.*)DDR3(.*)$ $1wsb6$2 [NC,L]
 > Redirect (.*)*) $ 

What is the correct way to do this?

Thanks very much in advance to all for any info.
View raw message