Thanks Marc, I don't appear to be able to get it working just yet, however I hadn't thought about rewriting .htaccess so i'm pretty sure with a bit of reading I can sort it now,
Thanks again, Mat From: Marc Torres [mailto:[EMAIL PROTECTED] Sent: 21 August 2007 16:31 To: [email protected] Subject: [symfony-users] Re: symfony 404 & trailing slashes Try adding this rule to your .htacces: RewriteRule ^(.+)/$ $1 Cheers, Marc. 2007/8/21, Mat <[EMAIL PROTECTED]>: Hey we are currently running a new symfony website and having just checked the logs, I noted that a fair few people are now linking to the site with incorrect urls for example http://apps.facebook.com/sponsor-me/campaign/60 is valid but we have a customer who has posted http://apps.facebook.com/sponsor-me/campaign/60/ around (note the trailing slash). Iis there any option in symfony, to make trailing slash url's point to the original url easily. I've read the book, checked forums etc and have a nasty feeling I'm missing the obvious. I would rather not rewrite a second rule to cope with this. Thanks in Advance, Mat -- "Beware of bugs in the above code; I have only proved it correct, not tried it." Donald Knuth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
