[SCM] Debian packaging of libhtml-mason-perl branch, master, updated. 4b171e3ac398aebb04ff30c4bed1a9c1e7373777
Florian Schlichting
fschlich at zedat.fu-berlin.de
Thu Sep 29 21:44:15 UTC 2011
The following commit has been merged in the master branch:
commit 4b171e3ac398aebb04ff30c4bed1a9c1e7373777
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date: Thu Sep 29 21:44:00 2011 +0000
udate README.Debian
diff --git a/debian/changelog b/debian/changelog
index efd2543..b09d2b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ libhtml-mason-perl (1:1.45-2) UNRELEASED; urgency=low
* debian/mason_apache2_example.conf: Apply patch from BTS to work around an
Apache2 bug preventing index.html to be shown when the URI specifies a
directory (Closes: #451714). Thanks, Andreas Krueger!
+ * Update README.Debian so that the sample config provided actually works
+ with current versions of Apache (Closes: #537692).
-- Florian Schlichting <fschlich at zedat.fu-berlin.de> Mon, 19 Sep 2011 12:05:07 +0000
diff --git a/debian/libhtml-mason-perl.README.Debian b/debian/libhtml-mason-perl.README.Debian
index c19ee1f..15a5c2b 100644
--- a/debian/libhtml-mason-perl.README.Debian
+++ b/debian/libhtml-mason-perl.README.Debian
@@ -37,7 +37,11 @@ components, adding an "m" prefix for private components.
Here is a configuration that enforces this naming scheme:
- PerlModule HTML::Mason::ApacheHandler
+ <Perl>
+ use HTML::Mason::ApacheHandler;
+ use Apache2::Const -compile => qw(HTTP_NOT_FOUND);
+ </Perl>
+
<LocationMatch "(\.html|\.txt|\.pl)$">
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
@@ -45,7 +49,7 @@ Here is a configuration that enforces this naming scheme:
<LocationMatch "(\.m(html|txt|pl)|dhandler|autohandler)$">
SetHandler perl-script
- PerlInitHandler Apache::Constants::NOT_FOUND
+ PerlInitHandler Apache2::Const::HTTP_NOT_FOUND
</LocationMatch>
Using HTML::Mason with SpeedyCGI
--
Debian packaging of libhtml-mason-perl
More information about the Pkg-perl-cvs-commits
mailing list