El mié, 25-02-2009 a las 00:16 -0500, UNE-Carlos E. Pruna Capdevila escribió: > Amigos, antiguamente cuando tenía el debian etch yo tenía mi sitio > montado con el apache2 y me recuerdo que yo hacia una redirección ej. > http://pedro.comercio.cu y le hacia una redirección a > http://pedro.comercio.cu/mysite lo hacia de la siguiente manera > > en /etc/apache2/sites-available/default > > está > > DocumentRoot /var/www/ > <Directory /> > Options FollowSymLinks > AllowOverride None > </Directory> > <Directory /var/www/> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > # This directive allows us to have apache2's default > start page > # in /apache2-default/, but still have / go to the > right place > RedirectMatch ^/$ /mysite/ > </Directory> > > > en la línea RedirectMatch ^/$ /mysite/ ahi era donde yo decía que > redireccionara el sitio, siempre lo he hecho así, pero ahora desde que > instale el debian lenny, sigue siendo el mismo apache2 pero no se si > este traerá alguna otra versión o algo por el estilo que ya este > archivo cambia un poco + y hago lo que tenía de costumbre y es por > gusto.... > > necesito si alguien le ha pasado lo mismo que me diga, o si existe > alguna otra variante que me resuelva lo que quiero..... > > Salu2 y gracias de antemano > > > -- > ------------------------------- > Carlos Ernesto Pruna Capdevila > Network administrator and systems > <<<<<<<ATI-OC-UNE>>>>>>> > <<< [email protected] >>> > Phone: (537)8775000, (537)8775031 ext.20675 > LinuxUser Registered: #413305 http://counter.li.org > UbuntuUser Registered: #17735 http://ubuntucounter.geekosophical.net > ID-Jabber - [email protected] > - [email protected] > FTP Site: ftp://kryptos.une.cu ---For the networks UnionEléctrica > Web Site: http://telematica.une.cu ---For the networks UnionEléctrica > http://es.wikipedia.org/wiki/Usuario:Carlosepc > --------------- > ---- > > > > > -- > ubuntu-es mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
Utiliza el módulo de proxy http://httpd.apache.org/docs/2.2/mod/mod_proxy.html hth D.

