# 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 php_flag register_globals off Options Indexes FollowSymLinks DirectoryIndex index.php AllowOverride All