summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/httpd-zm.conf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-26 00:54:07 -0700
committerroot <root@rshg054.dnsready.net>2012-09-26 00:54:07 -0700
commit483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (patch)
tree296f95ddbf8e5cd3ddfeea60e88a64b3593f9e1e /pcr/zoneminder/httpd-zm.conf
parentfca7e8a735bd3ae5114a3cdf12efbce3b1d10224 (diff)
Wed Sep 26 00:54:06 PDT 2012
Diffstat (limited to 'pcr/zoneminder/httpd-zm.conf')
-rw-r--r--pcr/zoneminder/httpd-zm.conf18
1 files changed, 10 insertions, 8 deletions
diff --git a/pcr/zoneminder/httpd-zm.conf b/pcr/zoneminder/httpd-zm.conf
index ad24cbbe4..e48ea9fc6 100644
--- a/pcr/zoneminder/httpd-zm.conf
+++ b/pcr/zoneminder/httpd-zm.conf
@@ -1,16 +1,18 @@
# /etc/httpd/conf/extra/httpd-zm.conf
# Config for zoneminder web app
-Alias /zm "/srv/zoneminder/www"
-<Directory "/srv/zoneminder/www">
- Options -Indexes MultiViews FollowSymLinks
- AllowOverride All
- Order allow,deny
- Allow from all
+Alias /zm "/usr/share/zoneminder"
+<Directory "/usr/share/zoneminder">
+ Options -Indexes MultiViews FollowSymLinks
+ AllowOverride All
+ Order allow,deny
+ Allow from all
+ # The code unfortunately uses short tags in many places
+ php_value short_open_tag 1
</Directory>
-ScriptAlias /cgi-bin "/srv/zoneminder/cgi-bin"
-<Directory "/srv/zoneminder/cgi-bin">
+ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
+<Directory "/usr/lib/zoneminder/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny