Error al configurar Apache en Archlinux (access forbidden)
By josepgarcia on Lun, 03/08/2010 - 22:45
Al cambiar el DocumentRoot del apache nos podemos encontrar con el siguiente error:
Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.
Esto ocurre porque no sólo hay que cambiar el valor de la variable "DocumentRoot" en /etc/httpd/conf/httpd.conf, sino que también hemos de modificar una línea que aparece más hacia abajo:
# This should be changed to whatever you set DocumentRoot to. < Directory "/home/web">
Ahora reiniciamos y listo.
# /etc/rc.d/httpd restart
Categoría:
Añadir nuevo comentario