RAD
Ejemplo *--------------------------------------------------------------------
### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs-2.0/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration.
# # Use name-based virtual hosting. # #NameVirtualHost * #NameVirtualHost www.oncsf.com:80 NameVirtualHost www.oncsi.com:80 #NameVirtualHost www.oncsi.com:443
# VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # Roberto #<VirtualHost *> # ServerAdmin [EMAIL PROTECTED] # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> #<VirtualHost www.oncsf.com:80> # DocumentRoot /var/www/www.oncsf.com # ServerName www.oncsf.com #</VirtualHost>
<VirtualHost www.oncsi.com:80> DocumentRoot /var/www/www.oncsi.com ServerName www.oncsi.com </VirtualHost>
#<VirtualHost www.oncsi.com:443> # DocumentRoot /var/www/www.oncsi.com # ServerName www.oncsi.com #</VirtualHost>
# this Redirect all http request to https #RewriteEngine on #RewriteCond %{SERVER_PORT} ^80 #RewriteRule ^/(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
Marco Antonio de Hoyos wrote:
--- Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]>
escribi�:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marco Antonio de Hoyos wrote: | colisteros: | | necesito saber, si es posible, en una misma IP tener | varios dominios. ej: ip 200.89.153.105 (dinamica, pero | no es problema) | | - micasa.com.ar en /webs/micasa | - miweb.com.ar en /webs/miweb | - soyyo.com.ar en /webs/soyyo | | | tengo levantado el apache sin problemas y tengo un | andado OK.. pero no le encuentro la vuelta para poder | hacerlo.
Apache 1.3 o 2.0?
Apache/2.0.52
ya lo hice andar, grax damus ;)
salu2
===== Marco Antonio de Hoyos --------------------------- 15-5-157-2322 // 4268-1557 Claypole -Pcia.de Bs. As.- Argentina ===================================== = http://tecnicoslinux.com.ar = = SOLAR Software Libre Argentina = = http://www.solar.org.ar = = Moderador de los Foros de UTUTO-e = = https://e.ututo.org.ar = = (GNU/linux 100% libre) = ///////////////////////////////////// (enviado desde webmail)
___________________________________________________________ 250MB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar
-- Para desuscribirte ten�s que visitar la p�gina https://listas.linux.org.ar/mailman/listinfo/lugar-gral/
/* Publica y encontra trabajo relacionado con softlibre en http://www.linux.org.ar/modules/jobs/ */
Si ten�s alg�n inconveniente o consulta escrib� a mailto:[EMAIL PROTECTED]
