mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
5afe071b98
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
31 lines
776 B
Text
31 lines
776 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/httpd/htdocs/perl/
|
|
#<Location /perl/>
|
|
# SetHandler perl-script
|
|
# PerlResponseHandler ModPerl::Registry
|
|
# PerlOptions +ParseHeaders
|
|
# Options +ExecCGI
|
|
# Require all granted
|
|
#</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>
|