summaryrefslogtreecommitdiffstats
path: root/perl/mod_perl/mod_perl.conf
diff options
context:
space:
mode:
author Heinz Wiesinger2012-05-06 22:20:53 +0200
committer Erik Hanson2012-05-07 19:18:11 +0200
commit045ffdda52b0eab7b027ef5774856a35416d160b (patch)
tree4160a7239de603d1dd823f04797af288035725bf /perl/mod_perl/mod_perl.conf
parent16ccf9600c094f95f56181628bfa7b2ce932253b (diff)
downloadslackbuilds-045ffdda52b0eab7b027ef5774856a35416d160b.tar.gz
perl/mod_perl: Updated for version 2.0.6 moved from network.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/mod_perl/mod_perl.conf')
-rw-r--r--perl/mod_perl/mod_perl.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/perl/mod_perl/mod_perl.conf b/perl/mod_perl/mod_perl.conf
new file mode 100644
index 0000000000..5135090fe6
--- /dev/null
+++ b/perl/mod_perl/mod_perl.conf
@@ -0,0 +1,32 @@
+#
+# 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>