
Alias /zm "/usr/share/zoneminder/www"
<Directory "/usr/share/zoneminder/www">
    Options -Indexes MultiViews FollowSymLinks
    AddType application/x-httpd-php .php
    AllowOverride All
    Order allow,deny
    Allow from all
    AuthName "Zoneminder"
    AuthType Basic
    AuthBasicProvider external
    AuthExternal pwauth
    require user admin
</Directory>

<Directory "/usr/libexec/zoneminder/cgi-bin">
    AllowOverride All
    Options ExecCGI FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>
