httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwien Samantha Y <saman...@erwien.massaint.com>
Subject RE: Subdomains to different folder.
Date Mon, 29 Jul 2002 01:25:49 GMT
Have you already add
NameVirtualHost *

It's work in my server.

wIEn

On Sat, 2002-07-27 at 01:30, admin wrote:
> you know something...i've tried this on my w2k pro, apache 1.3.26
> for several of my virtual hosts, and i can't get it to work.
> either the main server comes up all the time...or the one of the
> virtualhosts
> whenever i call up the different virtual host i've setup...ie:
> 
> this is my setup:  my static IP is 206.15.191.29 (using static for main
> server)
> and namedvirtual host designated with a " * "  I can't ever get this thing
> working right
> I use dns2go.com as the dnshost  why doesn't this work?
> 
> <VirtualHost *>
>     ServerAdmin kompukit@naisp.net
>     DocumentRoot C:/Program Files/Apache Group/Apache/htdocs/kitdesigns
>     ServerName kitdesigns.kompukit.d2g.com
>     ErrorLog logs/kitdesigns-error_log
>     CustomLog logs/kitdesigns-access_log common
>     ScriptAlias /cgi-bin/ "C:/Program Files/Apache
> Group/Apache/htdocs/kitdesigns/cgi-bin/"
> </VirtualHost>
> 
> <VirtualHost *>
>     ServerAdmin kompukit@naisp.net
>     DocumentRoot C:/Program Files/Apache Group/Apache/htdocs/myispnet
>     ServerName myispnet.kompukit.d2g.com
>     ErrorLog logs/myispnet-error_log
>     CustomLog logs/myispnet-access_log common
>     ScriptAlias /cgi-bin/ "C:/Program Files/Apache
> Group/Apache/htdocs/myispnet/cgi-bin/"
> </VirtualHost>
> 
> <VirtualHost *>
>     ServerAdmin kompukit@naisp.net
>     DocumentRoot C:/Program Files/Apache Group/Apache/htdocs/kompukit
>     ServerName kompukit.kompukit.d2g.com
>     ErrorLog logs/kompukit-error_log
>     CustomLog logs/kompukit-access_log common
>     ScriptAlias /cgi-bin/ "C:/Program Files/Apache
> Group/Apache/htdocs/kompukit/cgi-bin/"
> </VirtualHost>
> 
>   -----Original Message-----
>   From: support@mayl.net [mailto:support@mayl.net]
>   Sent: Friday, July 26, 2002 1:09 PM
>   To: users@httpd.apache.org; Vincent Kruger
>   Subject: Re: Subdomains to different folder.
> 
> 
>   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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message