diff options
Diffstat (limited to 'development/mod_perl/mod_perl.conf')
-rw-r--r-- | development/mod_perl/mod_perl.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/development/mod_perl/mod_perl.conf b/development/mod_perl/mod_perl.conf new file mode 100644 index 0000000000..bad6a93591 --- /dev/null +++ b/development/mod_perl/mod_perl.conf @@ -0,0 +1,32 @@ +# +# mod_perl - Perl Interpreter for Apache2 +# + +# Load the Perl module: +LoadModule perl_module lib/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/ /var/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> |