Hola El 18 Oct 2001 a las 04:32PM +0200, Jose Manuel Perez escribio: > El Jue 18 Oct 2001 15:27, Nicolas Fillon escribió: > > es un tema de permisos > > > > El Jue 18 Oct 2001 10:22, Eduardo Beltran escribió: > > > Hola Todos: > > > No se puedan darme una ayudita con la configuracion y funcionamiento de > > > Virtual hosting con apache 1.3 > > > > > > Tengo un problema con la configuracion de virual hosting. > > > > > > en el archivo httpd.confi > > > > > > NameVirtualHost 65.167.58.218 > > > > > > <VirtualHost 65.167.58.218> > > > DocumentRoot /var/www/bnsis > > > ServerName www.bnsis.com > > > </VirtualHost> > > > > > > <VirtualHost 65.167.58.218> > > > DocumentRoot /var/www/lagranjita > > > ServerName www.lagranjita.com > > > </VirtualHost> > > > > > > > > > <VirtualHost 65.167.58.218> > > > DocumentRoot /var/www/kiux > > > ServerName www.kiux.com > > > </VirtualHost> > > > > > Cada VirtualHost debe tener una IP "diferente". No, es virtual host basado en nombre, no en ip diferente. Yo tengo esto: ServerType standalone Port 80 HostnameLookups on User www-data Group www-data ServerAdmin webmaster@alamin.org ServerRoot /etc/apache BindAddress * .... LoadModule por un tubo ExtendedStatus on ErrorLog /var/log/apache/error.log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /var/log/apache/access.log common PidFile /var/run/apache.pid LockFile /var/run/apache.lock UseCanonicalName on Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 30 NameVirtualHost 192.168.1.10 <VirtualHost 192.168.1.10> ServerAdmin webmaster@alamin.org DocumentRoot /var/www/default ServerName www2.alamin.org ErrorLog /var/log/apache/www2.alamin.org-error.log TransferLog /var/log/apache/www2.alamin.org-access.log </VirtualHost> <VirtualHost 192.168.1.10> ServerAdmin webmaster@alamin.org DocumentRoot /home/andres/public_html/tofO ServerName tofo.alamin.org ErrorLog /var/log/apache/tofo.alamin.org-error.log TransferLog /var/log/apache/tofo.alamin.org-access.log </VirtualHost> Y me va bien. ¿No estarás dentro de una red privada y la ip que pones no es la tuya real si no la externa de tu router? > > > cuando reinicio el apache obtengo el siguiente status: > > > > > > Not Found > > > The requested URL /server-status was not found on this server. > > > _________________________________________________________________ > > > > > > Apache/1.3.20 Server at localhost Port 80 > > > > > > Cuando accedo a una pagina desde mi navegador obtengo lo siguiente > > > > > > Forbidden > > > You don't have permission to access / on this server. > > > ------------------------------------------------------------------------- > > >-- ----- > > > > > > Apache/1.3.20 Server at 65.167.58.218 Port 80 > > > > > > Cuando accedo a una pagina con http://www.bnsis.com/index.php me carga la > > > misma pagina en cualquiera de los tres casos > > Lógicamente, porque todos los VirtualHost tienen la misma IP. > > > > > > > No se pueden ayudarme. De antemano muchas gracias > > > > > > Cordial saludo > > > > > > Eduardo Beltran > > > > Saludos, > -- > ------------------------------------------------------ > José Manuel Pérez - Hispavista::Sistemas > P. Mikeletegi, 56 - 20009 Donostia - +34 943 448400 > josemanuel.perez@hispavista.com - www.hispavista.com > > > -- > To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > -- Andres Seco Hernandez - AndresSH@alamin.org MCP ID 445900 - http://andressh.alamin.org GnuPG public information: pub 1024D/3A48C934 E61C 08A9 EBC8 12E4 F363 E359 EDAC BE0B 3A48 C934 -------------------------------------------------- Alamin GSM SMS Gateway - http://www.alamin.org Debian GNU/Linux - http://www.debian.org Grupo de Usuarios de GNU/Linux de Guadalajara y alrededores - http://gulalcarria.sourceforge.net --------------------------------------------------
Attachment:
pgpqtD47rEHdN.pgp
Description: PGP signature