# you need LoadModule perl_module libexec/apache22/mod_perl.so

<VirtualHost *:80>
    ServerName support.example.dom
    DocumentRoot /usr/local/www/rt38/html
    AddDefaultCharset UTF-8

    # optional apache logs for RT
    ErrorLog /var/log/httpd-rt38-error.log
    TransferLog /var/log/httpd-rt38-access.log

    PerlRequire "/usr/local/bin/webmux.pl"

    <Directory /usr/local/www/rt38>
        Allow from any
    </Directory>
    <Location /NoAuth/images>
        SetHandler default
    </Location>
    <Location />
        SetHandler perl-script
        PerlResponseHandler RT::Mason
    </Location>

</VirtualHost>
