Virtual Document root

Discussion in 'Installation/Configuration' started by Caspar, Sep 21, 2006.

  1. Caspar

    Caspar New Member

    I want to get all subdomains get there own map in th web folder,
    Example
    www.domain.com go's to
    /pathtoweb/web/www
    test.domain.com go's to
    /pathtoweb/web/test

    who can i do this?
     
  2. Caspar

    Caspar New Member

    dous annybody have a clue about this, i realy need this way, becouse i don't want to add differnt sites just becouse of one sub-domain
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Add a co-domain test.domain.com to the website www.domain.com and enter "/test" in the redirect field of the co-domain.
     
  4. Caspar

    Caspar New Member

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Then add just a co-domain test.domain.com and enter a apache rewrite rule in the apache directives field. By the way, there are several thraeds about this topic in the forum.
     
  6. Caspar

    Caspar New Member

    where are those topics then, i have searched for about 2 days with the same results, and those didn't help me
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Search for rewrite forward. There are some threads that might be interesting.
     

Share This Page