summarylogtreecommitdiffstats
path: root/httpd-zoneminder.conf
diff options
context:
space:
mode:
Diffstat (limited to 'httpd-zoneminder.conf')
-rw-r--r--httpd-zoneminder.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpd-zoneminder.conf b/httpd-zoneminder.conf
index 7e6c8e375084..41b364f13168 100644
--- a/httpd-zoneminder.conf
+++ b/httpd-zoneminder.conf
@@ -7,8 +7,8 @@ Alias /zm "/srv/http/zoneminder"
AllowOverride None
Order allow,deny
Allow from all
- # Provide PHP access to important directories
- php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/zm.conf:/srv/http/zoneminder/:/var/cache/zoneminder/:/srv/zoneminder/socks/:/var/log/zoneminder/"
+ # 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"