summaryrefslogtreecommitdiff
path: root/network/mod_perl/mod_perl.conf
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-12 23:32:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:32:28 +0200
commitd3791abea05a66db5e1fddedb20afcd74a6010c1 (patch)
tree94e84376130dfb04a19de4097262eee75780f751 /network/mod_perl/mod_perl.conf
parentb3441ddaad5c4882eb40c4a770807ed59ed0ebdd (diff)
downloadslackbuilds-d3791abea05a66db5e1fddedb20afcd74a6010c1.tar.gz
network/mod_perl: Added to 12.2 repository
Diffstat (limited to 'network/mod_perl/mod_perl.conf')
-rw-r--r--network/mod_perl/mod_perl.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/network/mod_perl/mod_perl.conf b/network/mod_perl/mod_perl.conf
new file mode 100644
index 0000000000..8b33e560c1
--- /dev/null
+++ b/network/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/ /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>