Page 1 of 1

htaccess subdomain mod rewrite silent redirect

Posted: Thu Sep 07, 2006 7:44 pm
by eugene2008
hello!
i have a website with multi forum http://talkorchat.com/

when new forum with login "zzz" is done it looks like this
http://talkorchat.com/zzz/

i want to make it look like a subdomain, so it would be always like this
http://zzz.talkorchat.com/

how to do that with .htaccess modrewrite?

Posted: Sat Sep 09, 2006 4:32 am
by RobertGonzalez
Have a look at the Usefull Resources sticky in this (Apache, IIS, Web Servers) forum. There is a mod_rewrite cheatsheet that should be able to help you get started. Also, search these forums for 'mod_rewrite' and you should get some results back. This isn't the first time this context of question has been asked.