#
# [DON'T BRING IT BACK TO HTTPD.CONF!]
# [DON'T BRING IT BACK TO HTTPD.CONF!]
# [DON'T BRING IT BACK TO HTTPD.CONF!]
#
#  --> Otherwise your Control Center won't work correctly!
#
# This is excluded from httpd.conf for making it possible 
# to activate or de-activate the entire ASP-Support and not 
# only suppress the Handler.
#
# Apache can start faster this way...
#
# ATTENTION: Take care to load asp.conf OR perl.conf!
#

Alias /asp/  "asp/"

PerlModule Apache::ASP
PerlSetVar NoState 1
<Files ~ (\.asp)>
 SetHandler perl-script
 PerlHandler Apache::ASP
 PerlSetVar Global .
  @@PERLSETVAR@@
</Files>

<Location /asp>
  SetHandler perl-script
  PerlResponseHandler Apache::ASP
  PerlSetVar Global .
  @@PERLSETVAR@@
</Location>

#
# Make this directory to serve asp-perl's
# This is for demonstration only, so be aware
# of what you're doing and what you better shouldn't!
#
<Directory "modperl/asp/eg">
  Options +ExecCGI Indexes FollowSymLinks
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>