summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/httpd-zoneminder.conf
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-25 07:15:23 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-25 08:33:24 +0100
commit4ba771bb1d8bd3ee9c08f2ba65b3b3b615377b67 (patch)
tree1b44f13d4962eb8c3d9f0d096aa763d73e593062 /pcr/zoneminder/httpd-zoneminder.conf
parentd970f0c8379bf0fdcae34c3ee161d74cf7f60eef (diff)
downloadabslibre-4ba771bb1d8bd3ee9c08f2ba65b3b3b615377b67.tar.gz
abslibre-4ba771bb1d8bd3ee9c08f2ba65b3b3b615377b67.tar.bz2
abslibre-4ba771bb1d8bd3ee9c08f2ba65b3b3b615377b67.zip
pcr/zoneminder: updated to 1.30.4
Diffstat (limited to 'pcr/zoneminder/httpd-zoneminder.conf')
-rw-r--r--pcr/zoneminder/httpd-zoneminder.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcr/zoneminder/httpd-zoneminder.conf b/pcr/zoneminder/httpd-zoneminder.conf
index cdb7722dc..41b364f13 100644
--- a/pcr/zoneminder/httpd-zoneminder.conf
+++ b/pcr/zoneminder/httpd-zoneminder.conf
@@ -1,4 +1,4 @@
-# /etc/httpd/conf/extra/httpd-zm.conf
+# /etc/httpd/conf/extra/httpd-zoneminder.conf
# Config for zoneminder web app
Alias /zm "/srv/http/zoneminder"
@@ -7,8 +7,8 @@ Alias /zm "/srv/http/zoneminder"
AllowOverride None
Order allow,deny
Allow from all
- # The code unfortunately uses short tags in many places
- php_value short_open_tag On
+ # Provide PHP directory and file access, see http://php.net/manual/en/ini.core.php#ini.open-basedir
+ php_admin_value open_basedir "/tmp/:/etc/zm.conf:/srv/http/zoneminder/:/var/cache/zoneminder/:/var/lib/zoneminder/:/var/log/zoneminder/"
</Directory>
ScriptAlias /cgi-bin "/srv/http/cgi-bin"