virtualhost pointing to a domain subdir

Discussion in 'Installation/Configuration' started by itti, Oct 2, 2007.

  1. itti

    itti New Member

    Hi,
    I've not a problem but I'm searching for a tricky way to solve the following question: I have a domain, say domain.com, correctly configured for pointing www at somedir but I want also a subdomain www2 pointing to the same web space but to a subdir of the web directory (say web/www2). I can't use the codomain feature to do this; is there a way to include this directive using ISPConfig or do I have to add manually a virtual host ? In this case, do I have to edit httpd.conf or put my lines somewhere else ?
    Thank you,
    Massimo
     
  2. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

  3. itti

    itti New Member

    It works

    Thank you,
    using the Rewrite directive you suggested I was able to circumvent the problem :)
    Massimo
     

Share This Page