summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/httpd-zm.conf
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-25 13:18:26 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-25 13:18:26 -0300
commitf89037a7471edd92e5f4ab8068920bb51c7abe45 (patch)
tree25157ee0b88dd983bc6bef9e5cd8e76fa29aedfa /pcr/zoneminder/httpd-zm.conf
parent2460d0789e2da256ebb98d33d34e055a5cb0b603 (diff)
zoneminder: updating package
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