Found a way around it. I used <LocationMatch "^/$">. Now it does what I want
it to do.

Thanks for your help guys.

Jamie

-----Original Message-----
From: sterling [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 9:26 PM
To: Jamie Krasnoo
Cc: Modperl
Subject: Re: Is it Apache or me?


if you set a handler for / it will handle every request that way.
you can either have all pages that are generated be /foo/ and set
that as the location, or you can force all files with a certain
suffix to be handled by mod_perl: <Files ~ "*\.pl">.


sterling

On Sun, 25 Feb 2001, 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?
>
> Thanks,
>
> Jamie Krasnoo
> www.MyEBoard.com
> [EMAIL PROTECTED]
>
> public key: http://www.planetphat.com/jkrasnoo/pgp.html
>

Reply via email to