The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#Editor: vim:syn=apache
<VirtualHost *>
  PerlModule  Apache2
  PerlModule  Apache::compat
  PerlOptions +GlobalRequest
  PerlOptions +SetupEnv
 
  # Basic configuration
  ServerName            $SERVER_NAME
  ServerAdmin           $ADMIN
  CustomLog             $LOG_DIR/www_combined_log combined
  ErrorLog              $LOG_DIR/www_error_log
  
  # Any extra aliases
  Include $SITE_DIR/httpd/httpd-aliases.conf
  Alias /               $MKDOC_DIR/cgi/mkdoc.cgi/
  
  # Include any PerlSetEnv directives
  Include               $SITE_DIR/httpd/httpd-env.conf
  UseCanonicalName      On
  
  # Include various hooks for various possible handlers...
  PerlHeaderParserHandler	MKDoc::Core::Init
  Include $SITE_DIR/httpd/httpd-init.conf

  Include $SITE_DIR/httpd/httpd-access-control.conf
  Include $SITE_DIR/httpd/httpd-authenticate.conf
  Include $SITE_DIR/httpd/httpd-authorize.conf
  Include $SITE_DIR/httpd/httpd-fixup.conf
  Include $SITE_DIR/httpd/httpd-extras.conf

  <Directory $MKDOC_DIR/cgi>
    Options ExecCGI
    AddHandler cgi-script .cgi
    order allow,deny
    allow from all
    AllowOverride none

    # directives for mod_perl
    # you should be able to comment those out for debugging.
    SetHandler perl-script
    PerlHandler ModPerl::Registry
    PerlSendHeader Off
  </Directory>
</VirtualHost>