Re: [Catalyst] Local action in controller not mapping to template (retry): Solved

2009-04-21 Thread Anne Brown
Kiki-3 wrote: > > Just tell mod_rewrite to stop rewriting the URL, in order to escape the > infinite recursion (see 'recursion, infinite') > > You probably need: > > RewriteRule ^(.*)?$ index.pl/$1 [L] > > The [L] is a flag that tells mod_rewrite that this is the last rule and it > sho

Re: [Catalyst] Local action in controller not mapping to template (retry): Solved

2009-04-21 Thread Kiki
Anne Brown wrote: Daniel Hulme-4 wrote: On Mon, Apr 20, 2009 at 08:20:42AM -0700, Anne Brown wrote: As you suggested, I checked the vhosts file and sure enough, the problem was with the RewriteRule. I changed this: RewriteRule ^([A-Za-z0-9-]+)?$ index.pl/$1 to this: RewriteRu

Re: [Catalyst] Local action in controller not mapping to template (retry): Solved

2009-04-21 Thread Matt S Trout
On Tue, Apr 21, 2009 at 08:48:46AM +0100, Daniel Hulme wrote: > On Mon, Apr 20, 2009 at 08:20:42AM -0700, Anne Brown wrote: > > As you suggested, I checked the vhosts file and sure enough, the problem was > > with the RewriteRule. I changed this: > > RewriteRule ^([A-Za-z0-9-]+)?$ index.pl/$1

Re: [Catalyst] Local action in controller not mapping to template (retry): Solved

2009-04-21 Thread Anne Brown
Daniel Hulme-4 wrote: > > On Mon, Apr 20, 2009 at 08:20:42AM -0700, Anne Brown wrote: >> As you suggested, I checked the vhosts file and sure enough, the problem >> was >> with the RewriteRule. I changed this: >> RewriteRule ^([A-Za-z0-9-]+)?$ index.pl/$1 >> to this: >> RewriteRule ^([

Re: [Catalyst] Local action in controller not mapping to template (retry): Solved

2009-04-21 Thread Daniel Hulme
On Mon, Apr 20, 2009 at 08:20:42AM -0700, Anne Brown wrote: > As you suggested, I checked the vhosts file and sure enough, the problem was > with the RewriteRule. I changed this: > RewriteRule ^([A-Za-z0-9-]+)?$ index.pl/$1 > to this: > RewriteRule ^([A-Za-z0-9-/]+)?$ index.pl/$1 > and pr

Re: [Catalyst] Local action in controller not mapping to template (retry): Solved

2009-04-20 Thread Anne Brown
Matt S Trout-2 wrote: > >> Apache says: >> >>File does not exist: c:/webs/webapp/www/somecontroller/ > > Then the request isn't even getting to Catalyst. Check your apache config. > Matt, To prove what you said, a die statement in the :Local action produced the same apache error. T