[Catalyst] $c->req->base doesn't actually return base

vti mbit at ukr.net
Sun Jan 28 18:15:58 GMT 2007


vti(mbit at ukr.net)@Sun, Jan 28, 2007 at 07:43:29PM +0200:
> Will Hawes(wdhawes at gmail.com)@Fri, Jan 26, 2007 at 05:56:58PM +0000:
> > On 26/01/07, vti <mbit at ukr.net> wrote:
> > >Well. I tried to use Apache/mod_perl. But the req->base still is wrong.
> > >
> > >Now it is the home dir O_o
> > 
> > That's about as useful as just saying "it doesn't work".
> > 
> > Logs? Config? Environment?
> > 
> 
> Sorry for that, but all setups, configs and ENV didn't change.

I fixed that using Location instead of Directory directive in Apache conf

Was:
===================
<Directory /var/www/myapp/htdocs>
    SetHandler modperl
    PerlResponseHandler MyApp
</Directory>
===================

Now:
===================
<Location />
    SetHandler modperl
    PerlResponseHandler MyApp
</Location>
===================

--
vti




More information about the Catalyst mailing list