Blame SOURCES/perl.conf

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