MESSAGE
DATE | 2014-09-15 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] [ruben@mrbrklyn.com: AddHandle perl-script *]
|
----- Forwarded message from Ruben Safir -----
Date: Mon, 15 Sep 2014 21:14:19 -0400 From: Ruben Safir To: embperl-at-perl.apache.org Subject: AddHandle perl-script * User-Agent: Mutt/1.5.21 (2010-09-15)
Bare with me a momement here because it has taken me two days to figure even this much out.
I wanted to create a mod_perl module to forbid certain noxious urls patterns and in it worked by when I needed a directory URL then the server failed to make the translation to index.html.
Embperl had always been hidden behind the directive but for the new blocking module there is was.
For two days I tried to debug this and finally I happened along this instruction page:
http://search.cpan.org/dist/Apache2-ModProxyPerlHtml/ModProxyPerlHtml.pm
PerlInputFilterHandler Apache2::ModProxyPerlHtml PerlOutputFilterHandler Apache2::ModProxyPerlHtml SetHandler perl-script # Use line below iand comment line above if you experience error: # "Attempt to serve directory". The reason is that with SetHandler # DirectoryIndex is not working # AddHandler perl-script *
So I said Oh - there is the bug in mod_perl. So I changed all the SetHandler perl-scripts to AddHAndler perl-script
Big Problem
embperl stopped working now. Embperl seems to NEED SetHandler Perl-script
Is there a workaround?
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
----- End forwarded message -----
|
|