Apache2 URL Rewrite - Second-Level-Domain to the end of URL
Posted
by
Acryl
on Server Fault
See other posts from Server Fault
or by Acryl
Published on 2012-10-23T21:19:21Z
Indexed on
2012/11/04
5:06 UTC
Read the original article
Hit count: 612
i have a site "example.com" and also many other domains like "example1.com", "example2.de", etc.
I want that every Second-Level-Domain is rewritten in the following way:
example.com/domainredirect=example1.com (when you open example1.com) and example.com/domainredirect=example2.de (when you open example2.de)
So the original Second-Level-Domain should be rewritten after "example.com/domainredirect="
Thanks in advance
© Server Fault or respective owner