Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34618 invoked by uid 500); 26 Jul 2002 17:10:26 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 34535 invoked from network); 26 Jul 2002 17:10:25 -0000 Received: from lsanca2-ar29-4-41-064-059.lsanca2.elnk.dsl.genuity.net (HELO mayl?swaont) (4.41.64.59) by daedalus.apache.org with SMTP; 26 Jul 2002 17:10:25 -0000 Received: from Earthlink [192.168.1.2] by mayl.net [192.168.1.102] with SMTP (MDaemon.PRO.v5.0.4.R) for ; Fri, 26 Jul 2002 10:09:28 -0700 Message-ID: <008701c234c7$3352dd00$6601a8c0@net.Earthlink.net> From: To: , "Vincent Kruger" References: <008c01c234c4$c3b41ab0$0100007f@localhost> Subject: Re: Subdomains to different folder. Date: Fri, 26 Jul 2002 10:09:27 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0084_01C2348C.86A94060" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MDRemoteIP: 192.168.1.2 X-Return-Path: support@mayl.net X-MDaemon-Deliver-To: users@httpd.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0084_01C2348C.86A94060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I personally have 15 virtual domains....7 of which are actual = www.???.com's=20 Every subdomain should have its own . THis way you can = configure specific needs for each virtual domain. In other words, # = -------------------------------------------------------------------------= ------- me.co.za NameVirtualHost 196.1.1.12:80 ServerAdmin hostmaster@me.co.za DocumentRoot "C:/wwwroot/vhosts/me.co.za" ServerName me.co.za ServerAlias www # -------------------------------------------- forum.me.co.za NameVirtualHost 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 ----- Original Message -----=20 From: Vincent Kruger=20 To: Apache MailingList=20 Sent: Friday, July 26, 2002 9:50 AM Subject: Subdomains to different folder. Hi.... I have this NameVirtualHost 196.1.1.12:80 ServerAdmin hostmaster@me.co.za DocumentRoot "C:/wwwroot/vhosts/me.co.za" ServerName me.co.za ServerAlias www 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 ------=_NextPart_000_0084_01C2348C.86A94060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I personally have 15 virtual domains....7 of which = are actual=20 www.???.com's
 
Every subdomain should have its own = <VirtualHost>. =20 THis way you can configure specific needs
for each virtual domain.
 
In other words,
 
#=20 -------------------------------------------------------------------------= -------=20 me.co.za
NameVirtualHost = 196.1.1.12:80
<VirtualHost=20 196.1.1.12:80>
  ServerAdmin hostmaster@me.co.za
  DocumentRoot=20 "C:/wwwroot/vhosts/me.co.za"
  = ServerName me.co.za
 =20 ServerAlias www
</VirtualHost>
 
# --------------------------------------------=20 forum.me.co.za
NameVirtualHost = 196.1.1.12:80
<VirtualHost=20 196.1.1.12:80>
  ServerAdmin hostmaster@me.co.za
  DocumentRoot=20 "C:/wwwroot/vhosts/forum.me.co.za"
 =20 ServerName forum.me.co.za
  ServerAlias www
</VirtualHost>
 
 
 
----- Original Message -----
From:=20 Vincent=20 Kruger
Sent: Friday, July 26, 2002 = 9:50 AM
Subject: Subdomains to = different=20 folder.

Hi....
 
I have this
 
NameVirtualHost=20 196.1.1.12:80
<VirtualHost 196.1.1.12:80>
  = ServerAdmin hostmaster@me.co.za
  DocumentRoot=20 "C:/wwwroot/vhosts/me.co.za"
  = ServerName me.co.za
 =20 ServerAlias www
</VirtualHost>
 
Is there no way that i could put = another=20 directive inside this one that say if the url is forum.me.co.za the = document=20 path is "C:/wwwroot/vhosts/me.co.za/form"?
 
Please help, can't find help with = this=20 anywhere.
 
Regards
Vincent Kruger
alienator@spils.com
<= /BLOCKQUOTE> ------=_NextPart_000_0084_01C2348C.86A94060--