Blame SOURCES/perl.conf

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