I have tried duplicating the lines and removing the trailing slash and also removing it from the existing lines but to no avail...
Any ideas? On Aug 19, 3:55 am, brian <bally.z...@gmail.com> wrote: > Just remove the trailing slash from the rule: > > RewriteCond %{REQUEST_URI} ^/forums(.*)$ > > On Tue, Aug 18, 2009 at 8:02 PM, > > designv...@gmail.com<designv...@gmail.com> wrote: > > > Hi there, > > > I have some forums in my webroot and have added the following to my > > htaccess: > > > RewriteCond %{REQUEST_URI} ^/forums/(.*)$ > > RewriteRule ^.*$ - [L] > > > And this is fine if I type: > > > www.mydomain.com/forums/ > > > However if I dont put the trailing slash (www.mydomain.com/forums) I > > get redirected to: > > > www.mydomain.com/app/webroot/forums/ > > > Can anyone help with a quick fix or suggestion? > > > TIA > > > d. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---