summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/httpd-zm.conf
blob: 8c6356aec9d53ddee73d9d59a173f933d61e1ef9 (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/www"
<Directory "/usr/share/zoneminder/www">
  Options -Indexes MultiViews FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from all
  # The code unfortunately uses short tags in many places
  php_value short_open_tag On
</Directory>

ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
  AllowOverride None
  Options ExecCGI FollowSymLinks
  Order allow,deny
  Allow from all
</Directory>