## CGI

Here is an exemple of Apache2 configuration file, assuming ZoneCheck has been installed in `/usr/local` (PREFIX=/usr/local) and for html pages generated in the `/zc/` namespace (HTML_PATH=/zc).

    AliasMatch  ^/zonecheck/?$         /usr/local/libexec/zonecheck/www/html/form.html
    AliasMatch  ^/zonecheck/(en|fr)/?$ /usr/local/libexec/zonecheck/www/html/form.html.$1
    AliasMatch  ^/zonecheck/(en|fr)/(.*)$ /usr/local/libexec/zonecheck/www/html/$2.$1
    ScriptAlias /zonecheck/cgi-bin/    /usr/local/libexec/zonecheck/cgi-bin/
    Alias       /zonecheck/js/         /usr/local/libexec/zonecheck/www/js/
    Alias       /zonecheck/style/      /usr/local/libexec/zonecheck/www/style/
    Alias       /zonecheck/img/        /usr/local/libexec/zonecheck/www/img/
    Alias       /zonecheck/            /usr/local/libexec/zonecheck/www/html/

    <Directory /usr/local/libexec/zonecheck/cgi-bin/>
        Options ExecCGI
    </Directory>

    <Directory /usr/local/libexec/zonecheck/www/>
        Options Includes FollowSymLinks MultiViews
    </Directory>