diff --git a/bibliotecha.sh b/bibliotecha.sh index 1dd6e22..744bcbe 100755 --- a/bibliotecha.sh +++ b/bibliotecha.sh @@ -266,6 +266,10 @@ function configure_webserver { echo 'include "bibliotecha/bibliotecha.conf"' >> /etc/lighttpd/lighttpd.conf fi + sed -i \ + 's/server.document-root.*/server.document-root = "\/var\/www"/g' \ + /etc/lighttpd/lighttpd.conf + mkdir -p "$LIGHTTPD_CONFIG_PATH" { echo 'server.error-handler = "/bibliotecha/index.html"'