[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: [Sop.Tec.LinuxPPP] Apache



At 06:58 p.m. 17/08/00 -0500, you wrote:
>On Thu, 17 Aug 2000 dcalvo en rnet com mx wrote:
>Hola:
>
>Yo tengo un problema parecido, quiero montar paginas de mis clientes en mi
>servidor y que tengan su propio dominio, algo como
>htto://www.sudominio.com.mx y direccionarlo al directorio que yo les creo
>en mi servidor, pero no se como hacerlo, ayuda por favor.
>
>Gracias
>
>Atte. Juanita
>
>
>
>---------------------------------------------------------------------
>Lista de soporte de LinuxPPP
> Reglas de la lista en http://pepe.net.mx/reglas.html
>

Checa en el archivo de configuracion /etc/httpd/conf/httpf.conf 

por las lineas que dicen virtual host

------------------------------------------
Setting up a single daemon with virtual hosts

For this case, a single httpd will service requests for the main server and
all the virtual hosts. The VirtualHost directive in the configuration file
is used
to set the values of ServerAdmin, ServerName, DocumentRoot, ErrorLog and
TransferLog or CustomLog configuration directives to different values
for each virtual host. e.g. 

    <VirtualHost www.smallco.com>
    ServerAdmin webmaster en mail smallco com
    DocumentRoot /groups/smallco/www
    ServerName www.smallco.com
    ErrorLog /groups/smallco/logs/error_log
    TransferLog /groups/smallco/logs/access_log
    </VirtualHost>

    <VirtualHost www.baygroup.org>
    ServerAdmin webmaster en mail baygroup org
    DocumentRoot /groups/baygroup/www
    ServerName www.baygroup.org
    ErrorLog /groups/baygroup/logs/error_log
    TransferLog /groups/baygroup/logs/access_log
    </VirtualHost>

It is recommended that you use an IP address instead of a hostname (see DNS
caveats). 


Suerte
      \\||//
    0(-0-0-)0
-oo00--(_)--00oo--------------------------------------------------------
       ~~~            M.I. Alberto P. Lorandi Medina 
              trento en net iaiver com mx   lorandi en sparc10-2 insting uv mx
           lorandi en speedy coacade uv mx    lorandi en ver1 telmex net mx
                          Vicerrectoria Region Veracruz
                           Universidad Veracruzana
                          Av. S.S. Juan Pablo II s/n 
   .oooO Oooo.         Boca del Rio, Veracruz, Mexico
   (   ) (   )    (52-29) 21-7475 (52-29) 21-6060 (52-29) 21-6030
----\ (---) /--****************************************************-----
     \_) (_/   * DOBLE SU ESPACIO EN DISCO  !!! BORRE WINDOWS !!! *
               ****************************************************  
---------------------------------------------------------------------
Lista de soporte de LinuxPPP
 Reglas de la lista en http://pepe.net.mx/reglas.html



[Hilos de Discusión] [Fecha] [Tema] [Autor]