Jamie Krasnoo ([EMAIL PROTECTED]) said something to this effect on 02/26/2001:
> I'm not quite sure how this works, and maybe I missed it in the Eagle book.
> I have a handler set in httpd.conf like this:
>
> <Location />
> Set-Handler perl-script
> PerlHandler app::main
> </Location>
>
> Now this works great when I want to go to the first page of the server.
> However if I try to go to a static page, that page gets intercepted and the
> app::main goes in to action. The handler doesn't intercept any of the other
> set locations. Why is it intercepting static pages? Is it a standard rule
> that a handler for <Location /> is never set?
Another option, besides a LocationMatch or Files section, is to
return DECLINED in your handler:
return DECLINED unless ($r->content_type eq 'text/html');
Now things like images, directories, etc will not be handled by
app::man.
(darren)
--
As the poet said, 'Only God can make a tree' - probably because it's
so hard to figure out how to get the bark on.
-- Woody Allen