Hi!

On Tue, Mar 04, 2003 at 12:54:30AM -0500, Matt Avitable wrote:

> Does anyone know how one goes about disabling a particular handler 
> within a specific location?  For example, consider the following:
> 
>    <Location />
>         PerlInitHandler config
>         PerlOutputFilterHandler filter
>     </Location>
> 
>    <LocationMatch "/(images|gfx)/">
>       ## what can I put here to say "don't run" to the above handlers?
>    </Location>

This works for Auth*Handlers, so it should work for any phase:

    <LocationMatch "/(images|gfx)/">
       PerlInitHandler Apache::Constants::OK
    </Location>

See recipy 7.3 in the Cookbook


-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to