diff options
Diffstat (limited to 'httpd-zoneminder.conf')
-rw-r--r-- | httpd-zoneminder.conf | 20 |
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> |