httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Miller <srmil...@interbel.net>
Subject Re: help with IP
Date Fri, 08 Feb 2002 04:17:12 GMT
NameVirtualHost 111.222.333.444

<VirtualHost 111.222.333.444>
Document Root /var/www/html/zeta
ServerName www.zeta.com
ServerAlias zeta.com
AccessLog /var/www/html/zeta/logs/access_log
ErrorLog /var/www/html/zeta/logs/error_log
</VirtualHost>

<VirtualHost 111.222.333.444>
Document Root /var/www/html/zoto
ServerName www.zoto.com
ServerAlias zoto.com
AccessLog /var/www/html/zoto/logs/access_log
ErrorLog /var/www/html/zoto/logs/error_log
</VirtualHost>

<VirtualHost 111.222.333.444>
Document Root /var/www/html/zuto
ServerName www.zuto.com
ServerAlias zuto.com
AccessLog /var/www/html/zuto/logs/access_log
ErrorLog /var/www/html/zuto/logs/error_log
</VirtualHost>

This only works if you are running the LATEST version of Apache.

Also, make sure you have created the "logs" directory before restarting
apache, or it will fail.  If you do not want the logs, then just omit the
lines.

Scott

----- Original Message -----
From: <lira@ver.megared.net.mx>
To: <users@httpd.apache.org>
Sent: Thursday, February 07, 2002 1:14 PM
Subject: help with IP


> hello list!
>
>
> I need some information about of the manipulation of IP, foe example:
>
>
> I have one public IP, and i want to link some domains to that IP, i
> imagine www.zeta.com and www.zoto.com and www.zuto.com, and i want to
> link them to the same IP.
>
> i want to set those domains into diferentes places, for example:
>
> /var/www/html/zeta/index.html
> /var/www/html/zoto/index.html
> /var/www/html/zuto/index.html
>
> is that posible?
>
> thanks
>
>
>
> -------------------------------------------------------
> Este mensaje fue enviado mediante Web E-mail de MegaRed
> INTERNET POR CABLE <<<<<
> >>>>>http://www.megared.net.mx
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message