Web Hosting Talk







View Full Version : Mod rewrite questions


[LSG]Ben
02-26-2005, 06:25 PM
Hello,

Ive been exploring mod_rewrite and havnt found any examples close enought to what im doing.


I need to rewrite the following:


*.domain.com

->

*.thisdomain.com


pointing subdomain x from x.domain.com to point to x.thisdomain.com

thanks in advance!

Burhan
02-27-2005, 10:49 AM
See http://httpd.apache.org/docs-2.0/misc/rewriteguide.html -- I believe the example.com to www.example.com example will work for you.