httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <supp...@mayl.net>
Subject Re: Subdomains to different folder.
Date Fri, 26 Jul 2002 17:09:27 GMT
I personally have 15 virtual domains....7 of which are actual www.???.com's 

Every subdomain should have its own <VirtualHost>.  THis way you can configure specific
needs
for each virtual domain.

In other words,

# -------------------------------------------------------------------------------- me.co.za
NameVirtualHost 196.1.1.12:80
<VirtualHost 196.1.1.12:80>
  ServerAdmin hostmaster@me.co.za
  DocumentRoot "C:/wwwroot/vhosts/me.co.za"
  ServerName me.co.za
  ServerAlias www
</VirtualHost>

# -------------------------------------------- forum.me.co.za
NameVirtualHost 196.1.1.12:80
<VirtualHost 196.1.1.12:80>
  ServerAdmin hostmaster@me.co.za
  DocumentRoot "C:/wwwroot/vhosts/forum.me.co.za"
  ServerName forum.me.co.za
  ServerAlias www
</VirtualHost>



  ----- Original Message ----- 
  From: Vincent Kruger 
  To: Apache MailingList 
  Sent: Friday, July 26, 2002 9:50 AM
  Subject: Subdomains to different folder.


  Hi....

  I have this

  NameVirtualHost 196.1.1.12:80
  <VirtualHost 196.1.1.12:80>
    ServerAdmin hostmaster@me.co.za
    DocumentRoot "C:/wwwroot/vhosts/me.co.za"
    ServerName me.co.za
    ServerAlias www
  </VirtualHost>

  Is there no way that i could put another directive inside this one that say if the url is
forum.me.co.za the document path is "C:/wwwroot/vhosts/me.co.za/form"?

  Please help, can't find help with this anywhere.

  Regards
  Vincent Kruger
  alienator@spils.com

Mime
View raw message