Mod rewrite sub domains
Posted: Thu Sep 21, 2006 12:49 pm
I setup wildcard DNS.. so that anything.domain.com will basically be domain.com
What I want to do is setup mod rewrite so (.*).domain.com will be domain.com/?id=$1
Anyone know how I would set the rewrite rule for the sub domain?
Thanks!
What I want to do is setup mod rewrite so (.*).domain.com will be domain.com/?id=$1
Anyone know how I would set the rewrite rule for the sub domain?
Thanks!