summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/zoneminder/files/10_zoneminder.conf')
-rw-r--r--www-misc/zoneminder/files/10_zoneminder.conf20
1 files changed, 9 insertions, 11 deletions
diff --git a/www-misc/zoneminder/files/10_zoneminder.conf b/www-misc/zoneminder/files/10_zoneminder.conf
index 277d680d24b..eb9961d1322 100644
--- a/www-misc/zoneminder/files/10_zoneminder.conf
+++ b/www-misc/zoneminder/files/10_zoneminder.conf
@@ -1,18 +1,16 @@
-ScriptAlias /cgi-bin/zms "/usr/libexec/zoneminder/cgi-bin/zms"
-ScriptAlias /cgi-bin/nph-zms "/usr/libexec/zoneminder/cgi-bin/nph-zms"
+ScriptAlias /zm/cgi-bin "/usr/libexec/zoneminder/cgi-bin/"
<Directory "/usr/libexec/zoneminder/cgi-bin">
AllowOverride All
- Options ExecCGI
- Order allow,deny
- Allow from all
-</Directory>
+ Options +ExecCGI
+ Require all granted
+</Directory>
-Alias /zoneminder "%ZM_WEBDIR%"
+Alias /zm "%ZM_WEBDIR%"
<Directory "%ZM_WEBDIR%">
- Options -Indexes MultiViews FollowSymLinks
+ Options -Indexes +MultiViews +FollowSymLinks
AllowOverride All
- Order allow,deny
- Allow from all
-</Directory>
+ Require all granted
+</Directory>
+