2016-11-08 22:30:24 +08:00
|
|
|
# Remember to enable cgi mod (i.e. "a2enmod cgi").
|
|
|
|
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
|
|
|
|
<Directory "/usr/lib/zoneminder/cgi-bin">
|
|
|
|
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
|
|
|
AllowOverride All
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
2015-06-12 23:20:24 +08:00
|
|
|
|
2016-11-08 22:30:24 +08:00
|
|
|
Alias /zm /usr/share/zoneminder/www
|
2015-10-24 04:08:32 +08:00
|
|
|
<Directory /usr/share/zoneminder/www>
|
2016-11-08 22:30:24 +08:00
|
|
|
Options -Indexes +ollowSymLinks
|
2015-06-12 23:20:24 +08:00
|
|
|
<IfModule mod_dir.c>
|
|
|
|
DirectoryIndex index.php
|
|
|
|
</IfModule>
|
|
|
|
</Directory>
|
2016-11-08 22:30:24 +08:00
|
|
|
|
|
|
|
<Directory /usr/share/zoneminder/www/api>
|
|
|
|
AllowOverride All
|
|
|
|
</Directory>
|