# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
Alias /zm /usr/share/zoneminder/www
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride All