Permalink
Browse files

Fee fie foe fum, I smell a BROKEN HANDLER CHAIN

  • Loading branch information...
1 parent 5697674 commit b9b00dbaa187f34843113fb78ce8342929e53bd8 @pudge pudge committed Feb 20, 2004
@@ -0,0 +1,29 @@
+# This code is a part of Slash, and is released under the GPL.
+# Copyright 1997-2003 by Open Source Development Network. See README
+# and COPYING for more information, or see http://slashcode.com/.
+# $Id$
+
+# this merely overrides a "broken" method in Apache::SSI,
+# where include directives don't work for mixing with Apache::Compress
+# patch comes from author of Apache::SSI and Apache::Compress
+
+package Slash::Custom::ApacheRegistryFilter;
+
+use strict;
+use base 'Apache::RegistryFilter';
+use vars qw($VERSION);
+
+use Apache::Constants qw(:common);
+
+($VERSION) = ' $Revision$ ' =~ /\$Revision:\s+([^\s]+)/;
+
+sub handler ($$) {
+ my ($class, $r) = @_ > 1 ? (shift, shift) : (__PACKAGE__, shift);
+ my $status = $class->SUPER::handler($r);
+ $r->status($status);
+ return OK;
+}
+
+1;
+
+__END__
@@ -0,0 +1,3 @@
+ApacheRegistryFilter.pm
+Makefile.PL
+MANIFEST
@@ -0,0 +1,7 @@
+use ExtUtils::MakeMaker;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+WriteMakefile(
+ 'NAME' => 'Slash::Custom::ApacheRegistryFilter',
+ 'VERSION_FROM' => 'ApacheRegistryFilter.pm', # finds $VERSION
+);

0 comments on commit b9b00db

Please sign in to comment.