httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From St├ęphane Neveu <stephane.ne...@cetsi.fr>
Subject [users@httpd] mod_rewrite
Date Fri, 01 Feb 2008 09:16:15 GMT

Hello all,

   I'm looking for a way to rewrite this url:

http://www.domain-1.com/directory/country.php?id_rub1=32&id_rub2=66&id_rub3=107&col=32&col2=66&col3=107&*Country=4&Conc=14*

to
 
http://www.domain-2.com/

only when *Country=4&Conc=14* is matching.

So I wish apache2 could do something else :

When users come from http://www.domain-2.com/

apache2 should display the content of : 
http://www.domain-1.com/directory/country.php?id_rub1=32&id_rub2=66&id_rub3=107&col=32&col2=66&col3=107&*Country=4&Conc=14

*but users will only see http://www.domain-2.com/ on the brower.

I really tried to find a solution by myself, but I failed.

Thank you very much for your advices.


 

 


Mime
View raw message