[EMAIL PROTECTED] (Jamie Krasnoo) wrote:
>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?
It sounds like you want this (or similar):
<Files index.html>
Set-Handler perl-script
PerlHandler app::main
</Files>
Using <Location /> sets things for the entire server, because it means
"everything below /".
------------------- -------------------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED] The Math Forum