Blame SOURCES/perl.conf

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