[Catalyst] mod_perl location handler problem

Juan Camacho jc5826 at gmail.com
Tue Mar 7 21:34:40 CET 2006


On 3/6/06, Jason Rhinelander <jagerman at jagerman.com> wrote:
> Hi,
>
> I started playing with Catalyst for the first time this weekend, and I
> have to say I like it very much.  That said, I've run into a minor
> problem with respect to the handling of location under mod_perl.
> Specifically, I have apache set up with:
>
> <Location /foo>
>     SetHandler perl-script
>     PerlResponseHandler Foo
> </Location>
>

I had the same problem which I simply fixed via an Apache directive:

RewriteEngine On
RewriteRule ^/foo$ /foo/ [R,L]

... or if you have mod_proxy, I believe you can do this:

RewriteEngine On
RewriteRule ^/foo$ /foo/ [P,L]



More information about the Catalyst mailing list