summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/vhost-conf
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/http/vhost-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/vhost-conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/http/vhost-conf b/sca-cpp/trunk/modules/http/vhost-conf
index a6d54fa32a..f45d448906 100755
--- a/sca-cpp/trunk/modules/http/vhost-conf
+++ b/sca-cpp/trunk/modules/http/vhost-conf
@@ -44,6 +44,21 @@ ServerAlias *.$host
VirtualDocumentRoot $htdocs/domains/%1/
Include conf/dvhost.conf
+
+# Allow access to document root
+<Directory "$htdocs">
+Options FollowSymLinks
+AuthType None
+Require all granted
+</Directory>
+
+# Allow access to root location
+<Location />
+Options FollowSymLinks
+AuthType None
+Require all granted
+</Location>
+
</VirtualHost>
EOF