in reply to Re: Catalyst - Add Trailing Slashes to URLs
in thread Catalyst - Add Trailing Slashes to URLs

But if I'm not mistaken, then this would not add the slash in the user agent. And that's where it is essential because of relative links

use strict; use warnings; print "Just Another Perl Hacker\n";
  • Comment on Re^2: Catalyst - Add Trailing Slashes to URLs

Replies are listed 'Best First'.
Re^3: Catalyst - Add Trailing Slashes to URLs
by dsheroh (Monsignor) on Dec 03, 2008 at 01:13 UTC
    By default you are correct, but adding [R] to the end of your RewriteRule will cause it to do a client-side redirect instead of handling it internally.