httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zambrano Teran, David" <dzambr...@royal-holiday.com>
Subject [users@httpd] Domain based redirect
Date Thu, 03 Feb 2005 14:08:19 GMT
Hello everyone

I have a web site in which the main page changes the language based on a
parameter, I also have two domains one is .com and the other is .com.mx;
as you probably know now what I want is to be able to redirect the
request of the page based on the domain. i.e

 

www.mydomain.com.mx <http://www.mydomain.com.mx/>  =
http://www.mydomain.com/index.php?fuseaction=home.main&lg=1
<http://www.mydomain.com/index.php?fuseaction=home.main&lg=1>
Spanish

www.mydomain.com <http://www.mydomain.com/>     =
http://www.mydomain.com/index.php?fuseaction=home.main&lg=2
<http://www.mydomain.com/index.php?fuseaction=home.main&lg=2>
English

 

Is this possible?

 

Thanks in advance for you help

 

David


Mime
View raw message