Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Catalyst - Add Trailing Slashes to URLs

by Sixtease (Friar)
on Dec 02, 2008 at 16:33 UTC ( #727459=note: print w/ replies, xml ) Need Help??


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
Re^3: Catalyst - Add Trailing Slashes to URLs
by dsheroh (Parson) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://727459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2014-08-31 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls