[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Como configuro apache en otra carpeta



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 />
 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 ||
=========


Reply to: