aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apache2-mod-perl/apache2-mod-perl.conf
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-11-20 16:12:50 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-24 13:02:55 +0000
commit48ee788e89b0bca773dc97d15a215c004a8a86d7 (patch)
treeefc45a8385be0cbf93bff50f215ac5220282b9e5 /testing/apache2-mod-perl/apache2-mod-perl.conf
parent1d04c940d71566ac1bd81b98df86ae8f972ea343 (diff)
downloadaports-48ee788e89b0bca773dc97d15a215c004a8a86d7.tar.bz2
aports-48ee788e89b0bca773dc97d15a215c004a8a86d7.tar.xz
testing/apache2-mod-perl: more refined patch to work with perl 5.22
This patch is replaces the previous one: http://patchwork.alpinelinux.org/patch/851/ - all unused patches and post-install script are removed - added the latest patch from https://rt.cpan.org/Public/Bug/Display.html?id=101962#txn-1558194 - many tests are fail, so 'make test' is not included in build() - some minor cleanups in APKBUILD Now apache not crashes to segfault with this module ;)
Diffstat (limited to 'testing/apache2-mod-perl/apache2-mod-perl.conf')
-rw-r--r--testing/apache2-mod-perl/apache2-mod-perl.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/apache2-mod-perl/apache2-mod-perl.conf b/testing/apache2-mod-perl/apache2-mod-perl.conf
new file mode 100644
index 0000000000..c1a75c76ff
--- /dev/null
+++ b/testing/apache2-mod-perl/apache2-mod-perl.conf
@@ -0,0 +1,11 @@
+LoadModule perl_module modules/mod_perl.so
+
+# For mod_perl 1.0 compatibility, uncomment:
+#PerlModule Apache2::compat
+
+<Location /cgi-bin>
+ AddHandler perl-script .pl
+ PerlResponseHandler ModPerl::Registry
+ PerlOptions +ParseHeaders
+ Options +ExecCGI
+</Location>