slackbuilds_ponce/perl/mod_perl/mod_perl.conf
Heinz Wiesinger 045ffdda52 perl/mod_perl: Updated for version 2.0.6 moved from network.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2012-05-07 12:18:11 -05:00

32 lines
791 B
Text

#
# mod_perl - Perl Interpreter for Apache2
#
# Load the Perl module:
LoadModule perl_module @baselibdir@/httpd/modules/mod_perl.so
# Define the files mod-perl's responsible for
AddHandler perl-script pl
# Set this if you want perl-scripts to be
# executed from only one directory
#Alias /perl/ /srv/www/htdocs/perl/
#<Location /perl/>
# SetHandler perl-script
# PerlResponseHandler ModPerl::Registry
# PerlOptions +ParseHeaders
# Options +ExecCGI
# Order allow,deny
# Allow from all
#</Location>
# Set this if you want perl-scripts to be
# executed from everywhere in the htdocs directory
# (default)
<Files *.pl>
# mod_perl mode
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Files>