[Catalyst] Non-virtualhost environment

Jules Bean jules at jellybean.co.uk
Mon Nov 21 14:56:12 CET 2005


Caroline Johnston wrote:
>> The only thing you must be careful with are redirects, form atcions, etc.
>> With Catalyst 5.33 I prepend [% base %] to every href I write in the
>> templates ($c->req->base in the code).
>>     
>
> I've just been setting <BASE href="[%base%]"> in my header. Will this
> cause problems? Is it better to explicity add [%base%] to each href?
>   

I don't think it causes problems. I use <base href=""> in most of my 
catalyst templates for this reason.

Jules




More information about the Catalyst mailing list