summarylogtreecommitdiffstats
path: root/httpd-zoneminder.conf
diff options
context:
space:
mode:
authorTroy Will2015-07-26 13:21:24 -0700
committerTroy Will2015-07-26 13:21:24 -0700
commit388a2c42e4b5fdf3cf936398f9c995ddacdfc92f (patch)
tree4bf452d069a86dda86d0c0d98c55ee028987258d /httpd-zoneminder.conf
downloadaur-388a2c42e4b5fdf3cf936398f9c995ddacdfc92f.tar.gz
Initial import
Diffstat (limited to 'httpd-zoneminder.conf')
-rw-r--r--httpd-zoneminder.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/httpd-zoneminder.conf b/httpd-zoneminder.conf
new file mode 100644
index 000000000000..7e6c8e375084
--- /dev/null
+++ b/httpd-zoneminder.conf
@@ -0,0 +1,20 @@
+# /etc/httpd/conf/extra/httpd-zoneminder.conf
+# Config for zoneminder web app
+
+Alias /zm "/srv/http/zoneminder"
+<Directory "/srv/http/zoneminder">
+ Options -Indexes +MultiViews +FollowSymLinks
+ 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/"
+</Directory>
+
+ScriptAlias /cgi-bin "/srv/http/cgi-bin"
+<Directory "/srv/http/cgi-bin">
+ AllowOverride None
+ Options +ExecCGI +FollowSymLinks
+ Order allow,deny
+ Allow from all
+</Directory>