Subdomain with Mod_rewrite

Discussion in 'PHP' started by ruud, Jul 12, 2007.

  1. #1
    How can we show website.com/a.php?site=xxx like xxx.website.com with .htaccess?

    Thank you.
     
    ruud, Jul 12, 2007 IP
  2. Daudulus

    Daudulus Member

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Maybe you can use this thread:
    http://www.msfn.org/board/lofiversion/index.php/t19527.html

    Maybe it's a type but it isn't .httacass but .htaccess
    If you search on that term you will find a lot of articles.
    Sorry but I can't provide you the full code for the htaccess in this case because htaccess stays a bit strange sometimes for me.
     
    Daudulus, Jul 12, 2007 IP