Josep Garcia

Apache

Error al configurar Apache en Archlinux (access forbidden)

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.

Categorías

LinuxAndroidBash ScriptingDrupal

Twitter

Twitter Josep Carlet