2013/1/8 Ismael L. Donis Garcia <[email protected]>: > Trato de configurar el apache hacia otra carpeta y no logro que vea el > repositorio. Tengo la siguiente configuración en el archivo > /etc/apache2/sites-enabled/000-default pero no se que más debo configurar > para que me muestre las carpetas del repositorio. > > <VirtualHost *:80> > ServerAdmin webmaster@localhost > > DocumentRoot /opt/trabajo/debian/wheezy > <Directory />
aca tienes que poner <Directory /opt/trabajo/debian> si quieres ingresar por http://127.0.0.1/wheezy o poner <Directory /opt/trabajo/debian/wheezy> si quieres ingresar por http://127.0.0.1 Saludos. > Options FollowSymLinks > AllowOverride None > </Directory> > <Directory /opt/trabajo/debian/wheezy/> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > </Directory> > > ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ > <Directory "/usr/lib/cgi-bin"> > AllowOverride None > Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch > Order allow,deny > Allow from all > </Directory> > > ErrorLog ${APACHE_LOG_DIR}/error.log > > # Possible values include: debug, info, notice, warn, error, crit, > # alert, emerg. > LogLevel warn > > CustomLog ${APACHE_LOG_DIR}/access.log combined > </VirtualHost> > > SI pongo: http://127.0.0.1/ > > Me sale: > > Index of / > [ICO] Name Last modified Size Description > Apache/2.2.16 (Debian) Server at 127.0.0.1 Port 80 > > Si pongo: http://127.0.0.1/wheezy/ > > Me sale: > > Forbidden > > You don't have permission to access /wheezy/ on this server. > Apache/2.2.16 (Debian) Server at 127.0.0.1 Port 80 > > Cualquier ayuda será bien venida. > ========= > || ISMAEL || > ========= > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > Archive: > http://lists.debian.org/[email protected] > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAGUcOaFGTG5dHsLg1fvtFW_qZByyNgSZ5hy81=-ptrsmg_q...@mail.gmail.com

