summaryrefslogtreecommitdiff
path: root/modules/apache
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-09-15 17:26:02 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-09-15 17:26:02 -0500
commit27e9c0165c6178a3b10cc57da604c0c9a14602e1 (patch)
tree42c7b1173fff3ae2b933b4fedde7ae4dae44e5d2 /modules/apache
parentea4d206375ac1e5a7cd34283c31ce8bc28ab18f6 (diff)
downloadnixos-config-27e9c0165c6178a3b10cc57da604c0c9a14602e1.tar.gz
nixos-config-27e9c0165c6178a3b10cc57da604c0c9a14602e1.zip
modules/apache/local: Fix permissions problems for /var/www
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/local.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/apache/local.conf b/modules/apache/local.conf
index 7507799..c430a50 100644
--- a/modules/apache/local.conf
+++ b/modules/apache/local.conf
@@ -1,8 +1,14 @@
UserDir "/var/www"
DirectoryIndex _.html _.txt
+<Directory "/var/www">
+ Options MultiViews
+ AllowOverride All
+ Require all granted
+</Directory>
+
<Directory "/home/*/www">
- Options MultiViews ExecCGI
+ Options MultiViews
AllowOverride All
Require all granted
</Directory>