Hello community,
here is the log from the commit of package apache-rex for openSUSE:Factory checked in at 2018-07-28 12:45:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-rex (Old)
and /work/SRC/openSUSE:Factory/.apache-rex.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-rex"
Sat Jul 28 12:45:16 2018 rev:5 rq:625790 version:20180720
Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-rex/apache-rex.changes 2018-07-06 10:42:25.947223552 +0200
+++ /work/SRC/openSUSE:Factory/.apache-rex.new/apache-rex.changes 2018-07-28 12:45:17.928978650 +0200
@@ -1,0 +2,6 @@
+Fri Jul 20 12:42:26 UTC 2018 - pgajdos@suse.com
+
+- core-ServerAlias-basic: use NameVirtualHost where appropriate
+ (fixes the test on sle11)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-rex.spec ++++++
--- /var/tmp/diff_new_pack.MZq0DA/_old 2018-07-28 12:45:18.700980053 +0200
+++ /var/tmp/diff_new_pack.MZq0DA/_new 2018-07-28 12:45:18.704980061 +0200
@@ -25,7 +25,7 @@
%define macros_file macros.apache-rex
Name: apache-rex
-Version: 20180611
+Version: 20180720
Release: 0
Summary: Script for Apache HTTPD Runnable Examples
License: Apache-2.0
++++++ apache-rex.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/COMMIT_EDITMSG new/apache-rex/.git/COMMIT_EDITMSG
--- old/apache-rex/.git/COMMIT_EDITMSG 2018-06-11 18:07:46.311239205 +0200
+++ new/apache-rex/.git/COMMIT_EDITMSG 2018-07-20 14:39:30.071791262 +0200
@@ -1 +1 @@
-add mod_authn_dbd-pgsql
+core-ServerAlias-basic: use NameVirtualHost where appropriate
Binary files old/apache-rex/.git/index and new/apache-rex/.git/index differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/logs/HEAD new/apache-rex/.git/logs/HEAD
--- old/apache-rex/.git/logs/HEAD 2018-06-11 18:07:46.315239260 +0200
+++ new/apache-rex/.git/logs/HEAD 2018-07-20 14:39:30.071791262 +0200
@@ -9,3 +9,9 @@
0e15ba53c7e8dcd26469f6ddcbb7f64ff3a222cc 3bc1ae5191e674d996a5f91ca3cb36e663452a39 Petr Gajdos 1528733128 +0200 commit: expand @AREX_USER@ in httpd configuration
3bc1ae5191e674d996a5f91ca3cb36e663452a39 28a229a7c17ab3305859d9c20f3c9a613b52a3b2 Petr Gajdos 1528733213 +0200 commit: add mod_authn_dbd-pgsql
28a229a7c17ab3305859d9c20f3c9a613b52a3b2 dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17 Petr Gajdos 1528733266 +0200 commit: add mod_authn_dbd-pgsql
+dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17 211fee46440d16ede17beead652b9395a56925aa Petr Gajdos 1528735560 +0200 commit: mention AREX_USER in README.md
+211fee46440d16ede17beead652b9395a56925aa 3579b99244ae4c24b230bcfebdbce2f34aae3e56 pgajdos 1530003010 +0200 commit: add mod_perl-basic
+3579b99244ae4c24b230bcfebdbce2f34aae3e56 a62d6145b09927aa71afa00752639f07ad7c8d00 pgajdos 1530003063 +0200 commit (amend): add mod_perl-basic
+a62d6145b09927aa71afa00752639f07ad7c8d00 6ee99f06ccea6dd4246a1393b5155bc5e5a45eec pgajdos 1530003166 +0200 commit: add mod_perl-basic
+6ee99f06ccea6dd4246a1393b5155bc5e5a45eec 16236c1393cbb07b3fccc67a79699c18fd263e68 pgajdos 1530003596 +0200 commit: Alias instead of ScriptAlias
+16236c1393cbb07b3fccc67a79699c18fd263e68 a9fdc325bd0e27cc0173a50c54b0d927cdaa2d02 pgajdos 1532090370 +0200 commit: core-ServerAlias-basic: use NameVirtualHost where appropriate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/logs/refs/heads/master new/apache-rex/.git/logs/refs/heads/master
--- old/apache-rex/.git/logs/refs/heads/master 2018-06-11 18:07:46.315239260 +0200
+++ new/apache-rex/.git/logs/refs/heads/master 2018-07-20 14:39:30.071791262 +0200
@@ -9,3 +9,9 @@
0e15ba53c7e8dcd26469f6ddcbb7f64ff3a222cc 3bc1ae5191e674d996a5f91ca3cb36e663452a39 Petr Gajdos 1528733128 +0200 commit: expand @AREX_USER@ in httpd configuration
3bc1ae5191e674d996a5f91ca3cb36e663452a39 28a229a7c17ab3305859d9c20f3c9a613b52a3b2 Petr Gajdos 1528733213 +0200 commit: add mod_authn_dbd-pgsql
28a229a7c17ab3305859d9c20f3c9a613b52a3b2 dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17 Petr Gajdos 1528733266 +0200 commit: add mod_authn_dbd-pgsql
+dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17 211fee46440d16ede17beead652b9395a56925aa Petr Gajdos 1528735560 +0200 commit: mention AREX_USER in README.md
+211fee46440d16ede17beead652b9395a56925aa 3579b99244ae4c24b230bcfebdbce2f34aae3e56 pgajdos 1530003010 +0200 commit: add mod_perl-basic
+3579b99244ae4c24b230bcfebdbce2f34aae3e56 a62d6145b09927aa71afa00752639f07ad7c8d00 pgajdos 1530003063 +0200 commit (amend): add mod_perl-basic
+a62d6145b09927aa71afa00752639f07ad7c8d00 6ee99f06ccea6dd4246a1393b5155bc5e5a45eec pgajdos 1530003166 +0200 commit: add mod_perl-basic
+6ee99f06ccea6dd4246a1393b5155bc5e5a45eec 16236c1393cbb07b3fccc67a79699c18fd263e68 pgajdos 1530003596 +0200 commit: Alias instead of ScriptAlias
+16236c1393cbb07b3fccc67a79699c18fd263e68 a9fdc325bd0e27cc0173a50c54b0d927cdaa2d02 pgajdos 1532090370 +0200 commit: core-ServerAlias-basic: use NameVirtualHost where appropriate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/logs/refs/remotes/origin/master new/apache-rex/.git/logs/refs/remotes/origin/master
--- old/apache-rex/.git/logs/refs/remotes/origin/master 2018-06-11 18:07:50.979303754 +0200
+++ new/apache-rex/.git/logs/refs/remotes/origin/master 2018-07-20 14:40:06.847974741 +0200
@@ -6,3 +6,7 @@
0e15ba53c7e8dcd26469f6ddcbb7f64ff3a222cc 3bc1ae5191e674d996a5f91ca3cb36e663452a39 Petr Gajdos 1528733139 +0200 update by push
3bc1ae5191e674d996a5f91ca3cb36e663452a39 28a229a7c17ab3305859d9c20f3c9a613b52a3b2 Petr Gajdos 1528733218 +0200 update by push
28a229a7c17ab3305859d9c20f3c9a613b52a3b2 dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17 Petr Gajdos 1528733270 +0200 update by push
+dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17 211fee46440d16ede17beead652b9395a56925aa Petr Gajdos 1528735571 +0200 update by push
+211fee46440d16ede17beead652b9395a56925aa 6ee99f06ccea6dd4246a1393b5155bc5e5a45eec pgajdos 1530003177 +0200 update by push
+6ee99f06ccea6dd4246a1393b5155bc5e5a45eec 16236c1393cbb07b3fccc67a79699c18fd263e68 pgajdos 1530003608 +0200 update by push
+16236c1393cbb07b3fccc67a79699c18fd263e68 a9fdc325bd0e27cc0173a50c54b0d927cdaa2d02 pgajdos 1532090406 +0200 update by push
Binary files old/apache-rex/.git/objects/05/d3720724f72e95d20fdf7655808cb9c416bc7b and new/apache-rex/.git/objects/05/d3720724f72e95d20fdf7655808cb9c416bc7b differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/objects/16/236c1393cbb07b3fccc67a79699c18fd263e68 new/apache-rex/.git/objects/16/236c1393cbb07b3fccc67a79699c18fd263e68
--- old/apache-rex/.git/objects/16/236c1393cbb07b3fccc67a79699c18fd263e68 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/.git/objects/16/236c1393cbb07b3fccc67a79699c18fd263e68 2018-06-26 10:59:56.069875235 +0200
@@ -0,0 +1,5 @@
+xK
+Â0@]ç³ddDô LŽb?4éÆÓÅž{©%®25p"!tÌ]ÎV[;L¢(1 EK"¬âÖó
+Ë#Ÿò\áükݪøs"
+šïkMþÔí=Ä
+ÃTÄs;¯ÃÒvŸ)ñHm
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/objects/21/1fee46440d16ede17beead652b9395a56925aa new/apache-rex/.git/objects/21/1fee46440d16ede17beead652b9395a56925aa
--- old/apache-rex/.git/objects/21/1fee46440d16ede17beead652b9395a56925aa 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/.git/objects/21/1fee46440d16ede17beead652b9395a56925aa 2018-06-21 16:03:16.169469972 +0200
@@ -0,0 +1,2 @@
+xËÂ@EgÝ_Q{AúQé(\ CDp7TwW4BIÚ_?Á?ÎâràÂIcßwŽq?ebd
+Þ!`ŽH1D©µ:bCô(4ñP §ì¶ ã¢iAU-¶^µ5:ç@¢r^å>NðËe#=ò8ÃæyûÝüyÞ[PöÎT°ZJ>y
¿>~©ëÆöM}ý»ëºz8Õë>ÿÄJ
\ No newline at end of file
Binary files old/apache-rex/.git/objects/21/e773125006bddeb293a1dec53317e4d3f226de and new/apache-rex/.git/objects/21/e773125006bddeb293a1dec53317e4d3f226de differ
Binary files old/apache-rex/.git/objects/27/118e7c30973c0d1d7b7ad32110665596fc693d and new/apache-rex/.git/objects/27/118e7c30973c0d1d7b7ad32110665596fc693d differ
Binary files old/apache-rex/.git/objects/35/79b99244ae4c24b230bcfebdbce2f34aae3e56 and new/apache-rex/.git/objects/35/79b99244ae4c24b230bcfebdbce2f34aae3e56 differ
Binary files old/apache-rex/.git/objects/40/04c33719730a5499acb14276cd73d6e74b3e95 and new/apache-rex/.git/objects/40/04c33719730a5499acb14276cd73d6e74b3e95 differ
Binary files old/apache-rex/.git/objects/4c/c04990618f30cebfdb03b166065528635ba563 and new/apache-rex/.git/objects/4c/c04990618f30cebfdb03b166065528635ba563 differ
Binary files old/apache-rex/.git/objects/61/f52bc55460d8b771ebfa8c744b44ebaa0e563e and new/apache-rex/.git/objects/61/f52bc55460d8b771ebfa8c744b44ebaa0e563e differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/objects/6e/e99f06ccea6dd4246a1393b5155bc5e5a45eec new/apache-rex/.git/objects/6e/e99f06ccea6dd4246a1393b5155bc5e5a45eec
--- old/apache-rex/.git/objects/6e/e99f06ccea6dd4246a1393b5155bc5e5a45eec 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/.git/objects/6e/e99f06ccea6dd4246a1393b5155bc5e5a45eec 2018-06-26 10:52:46.123885267 +0200
@@ -0,0 +1,3 @@
+xÎM
+Â0@a×9ÅìEüo"LªkKn<œ"^ÀÝÛ|ðòvÛÕCZ
\ No newline at end of file
Binary files old/apache-rex/.git/objects/82/2430d8e9321106feae4363e23699df2c2ef797 and new/apache-rex/.git/objects/82/2430d8e9321106feae4363e23699df2c2ef797 differ
Binary files old/apache-rex/.git/objects/82/962a7212ae2f9797433ef296e219bc1649d503 and new/apache-rex/.git/objects/82/962a7212ae2f9797433ef296e219bc1649d503 differ
Binary files old/apache-rex/.git/objects/95/0c3a6c8431d9292db374a78090eac7a5fdd5e8 and new/apache-rex/.git/objects/95/0c3a6c8431d9292db374a78090eac7a5fdd5e8 differ
Binary files old/apache-rex/.git/objects/9b/30ea9a4874e9932104ab9b64cf62b4c0349b84 and new/apache-rex/.git/objects/9b/30ea9a4874e9932104ab9b64cf62b4c0349b84 differ
Binary files old/apache-rex/.git/objects/a2/1387447e26e7344397d30260c56b572156259f and new/apache-rex/.git/objects/a2/1387447e26e7344397d30260c56b572156259f differ
Binary files old/apache-rex/.git/objects/a6/2d6145b09927aa71afa00752639f07ad7c8d00 and new/apache-rex/.git/objects/a6/2d6145b09927aa71afa00752639f07ad7c8d00 differ
Binary files old/apache-rex/.git/objects/a7/2bde49d726ffa38b0bfdaf72e2f8bb4629dc00 and new/apache-rex/.git/objects/a7/2bde49d726ffa38b0bfdaf72e2f8bb4629dc00 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/objects/a9/fdc325bd0e27cc0173a50c54b0d927cdaa2d02 new/apache-rex/.git/objects/a9/fdc325bd0e27cc0173a50c54b0d927cdaa2d02
--- old/apache-rex/.git/objects/a9/fdc325bd0e27cc0173a50c54b0d927cdaa2d02 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/.git/objects/a9/fdc325bd0e27cc0173a50c54b0d927cdaa2d02 2018-07-20 14:39:30.071791262 +0200
@@ -0,0 +1 @@
+x1NÄ0E©séÑ¢±g3ZAGED?LX£Í:²8=ât¯yïÍËxÆVÌàšÇÝ8ªÅyHÑ1#÷œú(=S·J±kÇXÒq4«*2A÷ÈäÇN¶vÎÖwùr
?x¬[µ;ý>ëÉc@nÑ#vú{Ù¿€Ý*vxµòiå逢Ԁ÷°ÏÀ,öJÛäòk¯³Y××€Y÷ªcT>
\ No newline at end of file
Binary files old/apache-rex/.git/objects/c0/7d14c7d43a0c4fb47aa6ea49cb4f58a8064b26 and new/apache-rex/.git/objects/c0/7d14c7d43a0c4fb47aa6ea49cb4f58a8064b26 differ
Binary files old/apache-rex/.git/objects/d4/d284a937ac70e596e209f795e489b47fab9cb2 and new/apache-rex/.git/objects/d4/d284a937ac70e596e209f795e489b47fab9cb2 differ
Binary files old/apache-rex/.git/objects/e3/838ae71baafd26e58cad70dead3113eb9b4196 and new/apache-rex/.git/objects/e3/838ae71baafd26e58cad70dead3113eb9b4196 differ
Binary files old/apache-rex/.git/objects/ee/d86e14d227a7cc4b4a7340b8526343d700e962 and new/apache-rex/.git/objects/ee/d86e14d227a7cc4b4a7340b8526343d700e962 differ
Binary files old/apache-rex/.git/objects/f3/d0e05ac9ee4e61e0533f5da8755750a732226a and new/apache-rex/.git/objects/f3/d0e05ac9ee4e61e0533f5da8755750a732226a differ
Binary files old/apache-rex/.git/objects/fd/e03fc59f2106f809534397e977b778ec5386a2 and new/apache-rex/.git/objects/fd/e03fc59f2106f809534397e977b778ec5386a2 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/refs/heads/master new/apache-rex/.git/refs/heads/master
--- old/apache-rex/.git/refs/heads/master 2018-06-11 18:07:46.315239260 +0200
+++ new/apache-rex/.git/refs/heads/master 2018-07-20 14:39:30.071791262 +0200
@@ -1 +1 @@
-dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17
+a9fdc325bd0e27cc0173a50c54b0d927cdaa2d02
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/.git/refs/remotes/origin/master new/apache-rex/.git/refs/remotes/origin/master
--- old/apache-rex/.git/refs/remotes/origin/master 2018-06-11 18:07:50.979303754 +0200
+++ new/apache-rex/.git/refs/remotes/origin/master 2018-07-20 14:40:06.847974741 +0200
@@ -1 +1 @@
-dcd8126c4b49ba9ba15f4f81f1e7632dd9a7ab17
+a9fdc325bd0e27cc0173a50c54b0d927cdaa2d02
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/README.md new/apache-rex/README.md
--- old/apache-rex/README.md 2017-12-27 16:07:57.384104134 +0100
+++ new/apache-rex/README.md 2018-06-21 16:03:15.685467803 +0200
@@ -117,6 +117,8 @@
Writeable dir for the test, `$RUN_DIR_BASE/<test-dir-name>` in the fact.
All example data, temporary outputs, even configuration and script should
be found there after example is run. No cleanup required.
+* `AREX_USER`
+ User under which all daemons, including httpd, are run.
* `AREX_PORT`
This port is automatically opened for the httpd.
* `AREX_PORTn`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/contents new/apache-rex/contents
--- old/apache-rex/contents 2018-06-11 18:12:26.791118696 +0200
+++ new/apache-rex/contents 2018-06-26 10:49:25.290955705 +0200
@@ -89,6 +89,7 @@
mod_cgi-stderr
mod_cgi-ScriptLog
mod_cgi-httpoxy
+mod_perl-basic
mod_xml2enc-basic
mod_authz_user-basic
mod_auth_basic-basic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/core-ServerAlias-basic/MODULES new/apache-rex/core-ServerAlias-basic/MODULES
--- old/apache-rex/core-ServerAlias-basic/MODULES 2017-12-27 16:07:57.388104204 +0100
+++ new/apache-rex/core-ServerAlias-basic/MODULES 2018-07-20 14:35:09.058488991 +0200
@@ -0,0 +1 @@
+version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/core-ServerAlias-basic/example.conf.in new/apache-rex/core-ServerAlias-basic/example.conf.in
--- old/apache-rex/core-ServerAlias-basic/example.conf.in 2017-12-27 16:07:57.388104204 +0100
+++ new/apache-rex/core-ServerAlias-basic/example.conf.in 2018-07-20 14:38:30.867495876 +0200
@@ -1,4 +1,8 @@
-
+
+NameVirtualHost *:@AREX_PORT@
+</IfVersion>
+
+
ServerName domain.com
ServerAlias www.domain.com
@@ -8,7 +12,7 @@
</Directory>
</VirtualHost>
-
+
ServerName otherdomain.com
ServerAlias *.otherdomain.com
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/mod_perl-basic/DESCRIPTION new/apache-rex/mod_perl-basic/DESCRIPTION
--- old/apache-rex/mod_perl-basic/DESCRIPTION 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/mod_perl-basic/DESCRIPTION 2018-06-26 07:08:16.618182926 +0200
@@ -0,0 +1 @@
+How to utilize perl language with mod_perl2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/mod_perl-basic/MODULES new/apache-rex/mod_perl-basic/MODULES
--- old/apache-rex/mod_perl-basic/MODULES 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/mod_perl-basic/MODULES 2018-06-26 10:00:11.829358649 +0200
@@ -0,0 +1 @@
+cgi perl alias
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/mod_perl-basic/PrintEnv.pm new/apache-rex/mod_perl-basic/PrintEnv.pm
--- old/apache-rex/mod_perl-basic/PrintEnv.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/mod_perl-basic/PrintEnv.pm 2018-06-26 09:35:21.550548660 +0200
@@ -0,0 +1,19 @@
+package MyApache2::PrintEnv;
+use strict;
+
+use Apache2::RequestRec (); # for $r->content_type
+use Apache2::RequestIO (); # for print
+use Apache2::Const -compile => ':common';
+
+sub handler {
+ my $r = shift;
+
+ $r->content_type('text/plain');
+ for (sort keys %ENV){
+ print "$_ => $ENV{$_}\n";
+ }
+
+ return Apache2::Const::OK;
+}
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/mod_perl-basic/example.conf.in new/apache-rex/mod_perl-basic/example.conf.in
--- old/apache-rex/mod_perl-basic/example.conf.in 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/mod_perl-basic/example.conf.in 2018-06-26 10:58:53.049583562 +0200
@@ -0,0 +1,29 @@
+
+ SetHandler perl-script
+ PerlHandler Apache2::Status
+ @AREX_ALLOW_FROM_LOCALHOST@
+</Location>
+
+PerlSwitches -I@AREX_RUN_DIR@/perl-lib
+
+
+ SetHandler perl-script
+ PerlResponseHandler MyApache2::PrintEnv
+ @AREX_ALLOW_FROM_LOCALHOST@
+</Location>
+
+ScriptAlias /cgi-bin/ "@AREX_RUN_DIR@/cgi-bin/"
+
+ Options +ExecCGI
+ Require local
+</Location>
+
+Alias /perl-cgi-bin/ "@AREX_RUN_DIR@/cgi-bin/"
+
+ SetHandler perl-script
+ PerlHandler ModPerl::Registry
+ PerlSendHeader On
+ Options +ExecCGI
+ Require local
+</Location>
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/mod_perl-basic/run.sh new/apache-rex/mod_perl-basic/run.sh
--- old/apache-rex/mod_perl-basic/run.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/mod_perl-basic/run.sh 2018-06-26 10:48:43.914764206 +0200
@@ -0,0 +1,25 @@
+exit_code=0
+
+
+echo "[1] Apache2::Status usage"
+curl -s http://localhost:$AREX_PORT/perl-status?inc | grep 'Apache2::Const' || exit_code=1
+
+# https://perl.apache.org/docs/2.0/user/config/config.html#Examples
+echo "[2] run a perl module"
+perl_lib=$AREX_RUN_DIR/perl-lib
+mkdir -p $perl_lib/MyApache2
+cp PrintEnv.pm $perl_lib/MyApache2
+curl -s http://localhost:$AREX_PORT/print-env | grep 'HTTP_HOST' || exit_code=2
+
+# https://www.safaribooksonline.com/library/view/practical-mod_perl/0596002270...
+echo "[3] run unaltered CGI scrips under mod_perl"
+cgi_dir=$AREX_RUN_DIR/cgi-bin
+mkdir -p $cgi_dir
+cp test.pl $cgi_dir
+chmod 0700 $cgi_dir/test.pl
+curl -s http://localhost:$AREX_PORT/cgi-bin/test.pl | grep '^perl rules!$' || exit_code=3
+curl -s http://localhost:$AREX_PORT/perl-cgi-bin/test.pl | grep '^mod_perl. rules!$' || exit_code=3
+
+
+exit $exit_code
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apache-rex/mod_perl-basic/test.pl new/apache-rex/mod_perl-basic/test.pl
--- old/apache-rex/mod_perl-basic/test.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/apache-rex/mod_perl-basic/test.pl 2018-06-26 10:44:24.433563214 +0200
@@ -0,0 +1,7 @@
+#!/usr/bin/perl
+print "Content-type: text/plain\n\n";
+if ($ENV{'MOD_PERL'}) {
+ print "mod_perl$ENV{'MOD_PERL_API_VERSION'} rules!\n";
+} else {
+ print "perl rules!\n";
+}