mod_rewrite changigng direcory to subdomain

Discussion in 'Apache' started by mcncyo, Dec 8, 2005.

  1. #1
    I am trying to move www.mychrisitannetwork.com/forum/ to forum.mychristiannetwork.com/


    right now you can access the same site using both of them. I want to do 301 redirct and make sure they redirect to forum.mychrisitannetwork.com How can I do this. I see how to redirect it from subdomain.domain.com to www.domain.com/directory but I want to go the other way.
     
    mcncyo, Dec 8, 2005 IP