Mailing List Archive

turning off a directory
Gerald, whatever insight you have, I'm trying to turn off embperl on a
subdirecty

specifically http://www.mrbrklyn.com/resources/ and docs

And I just can't seem to find a combination that will allow for an
exemption by location

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin ruben@mrbrklyn.com
DocumentRoot "/usr/local/apache/htdocs"
ServerName www.mrbrklyn.com
Options Indexes
AddHandler perl-script *
PerlTransHandler +URL_BLOCK
<Files *.html>
SetHandler perl-script
PerlResponseHandler Embperl
</Files>
<Location "/resources">
Options +Indexes +FollowSymLinks
</Location>
<Location "/images">
# AddHandler perl-script *
#PerlTransHandler URL_BLOCK
</Location>
<Location "/pharmacy/sales">
Deny from All
</Location>
<Location "/kty/">
#SetHandler perl-script
#PerlResponseHandler Embperl
</Location>
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>


Apache/2.2.23 (Unix) Embperl/2.4.0 mod_perl/2.0.7 Perl/v5.16.2 [Sun Jan
4 20:13:10 2015]

See the mess here
http://www.mrbrklyn.com/resources/Ruth_Barcan_Marcus.html

--
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
Re: turning off a directory [ In reply to ]
On Tue, Jan 06, 2015 at 11:50:00AM +0100, Gerald Richter - ECOS Technology wrote:
> Hi Ruben,
>
> you can try to put a
>
> SetHandler none
>
> In the location block for that subdirectory, but I am not quite sure if this works.
>

This doesn't do exactly what I wanted to doi but, iti is sufficient. Why didn't
I think of this..

My real trouble is when I try to mix in pure modperl into apache with
embperl. I can't seem to get the proper interventions in the proper
locations of the response cycle... which might be a but in modperl?

Thank you

Ruben

> Gerald
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Ruben Safir [mailto:ruben@mrbrklyn.com]
> > Gesendet: Montag, 5. Januar 2015 02:53
> > An: Gerald Richter - ECOS Technology; embperl@perl.apache.org
> > Betreff: turning off a directory
> >
> >
> > Gerald, whatever insight you have, I'm trying to turn off embperl on a
> > subdirecty
> >
> > specifically http://www.mrbrklyn.com/resources/ and docs
> >
> > And I just can't seem to find a combination that will allow for an exemption
> > by location
> >
> > NameVirtualHost *:80
> >
> > <VirtualHost *:80>
> > ServerAdmin ruben@mrbrklyn.com
> > DocumentRoot "/usr/local/apache/htdocs"
> > ServerName www.mrbrklyn.com
> > Options Indexes
> > AddHandler perl-script *
> > PerlTransHandler +URL_BLOCK
> > <Files *.html>
> > SetHandler perl-script
> > PerlResponseHandler Embperl
> > </Files>
> > <Location "/resources">
> > Options +Indexes +FollowSymLinks
> > </Location>
> > <Location "/images">
> > # AddHandler perl-script *
> > #PerlTransHandler URL_BLOCK
> > </Location>
> > <Location "/pharmacy/sales">
> > Deny from All
> > </Location>
> > <Location "/kty/">
> > #SetHandler perl-script
> > #PerlResponseHandler Embperl
> > </Location>
> > ErrorLog logs/error_log
> > CustomLog logs/access_log common
> > </VirtualHost>
> >
> >
> > Apache/2.2.23 (Unix) Embperl/2.4.0 mod_perl/2.0.7 Perl/v5.16.2 [Sun Jan
> > 4 20:13:10 2015]
> >
> > See the mess here
> > http://www.mrbrklyn.com/resources/Ruth_Barcan_Marcus.html
> >
> > --
> > 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
> >
> >
> > !DSPAM:416,54a9eef223401435892126!

--
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