Sub-domain rewrite help needed

Discussion in 'Apache' started by Liminal, Jun 15, 2006.

  1. #1
    Hello all,

    This must be something simple but I can't seem to get it right. How would I accomplish a rewrite (not a re-direct) from sub.example.com to example.com/sub

    Thanks!
     
    Liminal, Jun 15, 2006 IP
  2. tonyrocks

    tonyrocks Active Member

    Messages:
    1,574
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Are you speaking of a URI re-write?
    probably something with setting up a vhost that points to a vdirectory.

    Im an IIS guy...not sure about Apache.
     
    tonyrocks, Jun 15, 2006 IP
  3. Liminal

    Liminal Peon

    Messages:
    1,279
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, I believe we are talking about the same thing. The site in question is on a shared host served by Apache and the only config I have access to is .htaccess.
     
    Liminal, Jun 15, 2006 IP