viernes, septiembre 02, 2005
 
Virtual host (apache)
se agregara la ip 15.99... sera la ip para el dominio agrouls... la ip 15.94 es la que se tiene actualmente.

auto eth0 eth0:1

iface eth0 inet static
address 10.16.15.94
network 10.16.0.0
netmask 255.240.0.0
broadcast 10.16.255.255

iface eth0:1 inet static
address 10.16.15.99
network 10.16.0.0
netmask 255.240.0.0
----------------
agregar la IP 15.99 a /etc/hosts (importante)
10.16.15.99 agrouls.algun_dominio agrouls

editar httpd.conf agregando...

{VirtualHost
10.16.15.99}
DocumentRoot /var/www/agroulsroot
ServerName www.agrouls.cl
#DirectoryIndex index.htm
{Directory "/var/www/agroulsroot/"}
AllowOverride none
{/Directory}
{/VirtualHost}

(en vez de llaves ocupar signos mayor y menor, fucking blog no muestra entidades html)
 
Comments: Publicar un comentario

<< Home
Google

Nombre: Pablo
ARCHIVES
septiembre 2005 / octubre 2005 / diciembre 2005 / enero 2006 / marzo 2006 / abril 2006 / noviembre 2008 /


Powered by Blogger


Aumenta tus visitas