#
# [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!
#
# The script 'perl_startup.pl' is needed for compiling some CPAN modules at runtime...
#
# Integrationg this file manually or by TSW [Control Center] will cause your webserver 
# in increasing ressources, esp. RAM So if you don't really need it, leave it de-
# activated
#
# ATTENTION: Take care to load asp.conf OR perl.conf!
#

PerlRequire "conf/mods/perl_startup.pl"

#
# for ModPerl::Registry scripts
#
Alias /perl/ "perl/"

AddHandler perl-script .pl
AddType application/x-httpd-perl .pl
PerlOptions ParseHeaders
PerlHandler ModPerl::Registry
PerlSendHeader On

#<Location /perl>
#  SetHandler perl-script
#  PerlResponseHandler ModPerl::Registry
#  Options +ExecCGI
#  PerlOptions +ParseHeaders
#</Location>

# a hello-world handler
PerlModule Apache::Hello
<Location /hello>
  SetHandler modperl
  PerlResponseHandler Apache::Hello
</Location>