cvsdist 25d4d7e
#
cvsdist 25d4d7e
# Mod_perl incorporates a Perl interpreter into the Apache web server,
cvsdist 25d4d7e
# so that the Apache web server can directly execute Perl code.
cvsdist 25d4d7e
# Mod_perl links the Perl runtime library into the Apache web server
cvsdist 25d4d7e
# and provides an object-oriented Perl interface for Apache's C
cvsdist 25d4d7e
# language API.  The end result is a quicker CGI script turnaround
cvsdist 25d4d7e
# process, since no external Perl interpreter has to be started.
cvsdist 25d4d7e
#
cvsdist 25d4d7e
cvsdist 25d4d7e
LoadModule perl_module modules/mod_perl.so
cvsdist 25d4d7e
cvsdist 985b004
# Uncomment this line to globally enable warnings, which will be
cvsdist 985b004
# written to the server's error log.  Warnings should be enabled
cvsdist 985b004
# during the development process, but should be disabled on a
cvsdist 985b004
# production server as they affect performance.
cvsdist 985b004
#
953e2f7
#PerlSwitches -w
cvsdist 985b004
cvsdist 985b004
# Uncomment this line to enable taint checking globally.  When Perl is
cvsdist 985b004
# running in taint mode various checks are performed to reduce the
cvsdist 985b004
# risk of insecure data being passed to a subshell or being used to
953e2f7
# modify the filesystem.  Unfortunately many Perl modules are not
cvsdist 985b004
# taint-safe, so you should exercise care before enabling it on a
cvsdist 985b004
# production server.
cvsdist 985b004
#
953e2f7
#PerlSwitches -T
cvsdist 985b004
cvsdist 25d4d7e
# This will allow execution of mod_perl to compile your scripts to
cvsdist 25d4d7e
# subroutines which it will execute directly, avoiding the costly
cvsdist 25d4d7e
# compile process for most requests.
cvsdist 25d4d7e
#
cvsdist 25d4d7e
#Alias /perl /var/www/perl
cvsdist 25d4d7e
#<Directory /var/www/perl>
cvsdist 25d4d7e
#    SetHandler perl-script
cvsdist 985b004
#    PerlResponseHandler ModPerl::Registry
cvsdist fd2c04f
#    PerlOptions +ParseHeaders
cvsdist 25d4d7e
#    Options +ExecCGI
cvsdist 25d4d7e
#</Directory>
cvsdist 985b004
cvsdist 985b004
# This will allow remote server configuration reports, with the URL of
cvsdist 985b004
#  http://servername/perl-status
02077c3
# Change the ".example.com" to match your domain to enable.
cvsdist 985b004
#
cvsdist 985b004
#<Location /perl-status>
cvsdist 985b004
#    SetHandler perl-script
953e2f7
#    PerlResponseHandler Apache2::Status
cvsdist 985b004
#    Order deny,allow
cvsdist 985b004
#    Deny from all
02077c3
#    Allow from .example.com
cvsdist 985b004
#</Location>