summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/httpd-zm.conf
blob: e48ea9fc64d2e1aaa8ffddacab790a8c8a56edae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# /etc/httpd/conf/extra/httpd-zm.conf
# Config for zoneminder web app

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 /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
    AllowOverride All
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>