2015-08-18 23:57:56 +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>
|
|
|
|
|
|
|
|
Alias /zm /usr/share/zoneminder/www
|
|
|
|
<Directory /usr/share/zoneminder/www>
|
|
|
|
php_flag register_globals off
|
|
|
|
Options Indexes FollowSymLinks
|
|
|
|
<IfModule mod_dir.c>
|
|
|
|
DirectoryIndex index.php
|
|
|
|
</IfModule>
|
|
|
|
</Directory>
|
2015-08-20 04:09:03 +08:00
|
|
|
|
|
|
|
<Directory /usr/share/zoneminder/www/api>
|
|
|
|
AllowOverride All
|
|
|
|
</Directory>
|