MESSAGE
DATE | 2014-09-16 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] [ruben@mrbrklyn.com: Re: AddHandle perl-script *]
|
----- Forwarded message from Ruben Safir -----
Date: Tue, 16 Sep 2014 14:20:17 -0400 From: Ruben Safir To: Ruben Safir Cc: embperl-at-perl.apache.org Subject: Re: AddHandle perl-script * User-Agent: Mutt/1.5.21 (2010-09-15)
On Mon, Sep 15, 2014 at 09:14:19PM -0400, Ruben Safir wrote: > Bare with me a momement here because it has taken me two days to figure > even this much out.
Should mod_index run BEFORE embperl or after it?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Subject: RE: mod_perl/embperl compiling permalink From: Ruben Safir (rub...-at-mrbrklyn.com) Date: Jun 20, 2005 8:57:14 pm List: org.apache.perl.embperl
How is that happening. Where is mod_index loaded?
Ruben
On Mon, 2005-06-20 at 23:48, Gerald Richter wrote:
I'm getting this from the debugging now
www2:/usr/local/apache2/conf # tail -f /tmp/embperl.log [27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 text=><= (#1) SVs=13610 [27861]CACHE: Free content for *file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompil
Embperl picks up the directory instead of mod_index, that depends on the load order. Mod_index has to process the directory first (and will turn it into index.html, which can be handled by Embperl).
The other solution is the wrap the Embperl settings inside a *.html> block, this will make sure that the directoty is not handled by Embperl
Gerald
--------------------------------------------------------------------- To unsubscribe, e-mail: embp...-at-perl.apache.org For additional commands, e-mail: embp...-at-perl.apache.org
> > 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe-at-perl.apache.org > For additional commands, e-mail: embperl-help-at-perl.apache.org
-- 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 -----
|
|