Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/12/2011, 05:27
albertrc
 
Fecha de Ingreso: febrero-2009
Mensajes: 443
Antigüedad: 15 años, 3 meses
Puntos: 1
virtualhost apache y linux

ayuda por favor
fedora

/var/www/html/php
/var/www/html/php/seophp

vi /etc/vhosts

127.0.0.1 localhost
127.0.0.1 php.example.com


tengo problemas con el siguiente codigo como puede solucionar el error

vi /etc/httpd/conf/httpd.conf

Código Apache:
Ver original
  1. NameVirtualHost: 127.0.0.1:80
  2.  
  3. <VirtualHost 127.0.0.1:80>
  4.         DocumentRoot /var/www/html/php
  5.         ServerName localhost
  6. </VirtualHost>
  7.  
  8. <VirtualHost 127.0.0.1:80>
  9.         DocumentRoot /var/www/html/php/seophp
  10.         ServerName seophp.example.com
  11.         <Directory /var/www/html/php/seophp>
  12.                 Options Indexes FollowSymLinks
  13.                 AllowOverride All
  14.                 Order allow,deny
  15.                 Allow from all
  16.         </Directory>
  17. </VirtualHost>

a lo mejor la carpeta seophp tendria que estar fuera de la carpeta php

/var/www/html/php
/var/www/html/seophp

no se si este podria ser el problema

Última edición por albertrc; 02/12/2011 a las 05:37