Ver Mensaje Individual
  #8 (permalink)  
Antiguo 25/07/2011, 13:39
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años
Puntos: 101
Respuesta: Configurar servidor local

Gente, yo no termino de entender como crear un virtualhost sin entrar en conflicto con el localhost de WAMP. Cuando creo un virtualhost para un proyecto symfony, este pasa a ser un alias de localhost, y por lo tanto al escribir http://localhost en mi navegador... me aparece el proyecto symfony y no mi index de WAMP.

La unica solución que tengo hasta ahora es no usar el puerto 80 para los virtualhosts, sino otro. Pero yo quiero usar el 80. Lo que tengo es esto:

Cita:
NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>

ServerName jobeet
DocumentRoot "/wamp/www/jobeet/web"
DirectoryIndex index.php

<Directory "/wamp/www/jobeet/web">
AllowOverride All
Allow from All
</Directory>

Alias /sf /wamp/apps/symfony/data/web/sf
<Directory "/wamp/apps/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>

</VirtualHost>
mas la linea en hosts
127.0.0.1 jobeet