perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Safir <ru...@mrbrklyn.com>
Subject AddHandle perl-script *
Date Tue, 16 Sep 2014 01:14:19 GMT
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 <File *html> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message