Thanks Joel, I will try that. I'm not sure if this is a permanent solution though. The "/cake" part should be removed only from the beginning of the url.. And that one is tricky too.. What happens if I create a CakesController? Will have to try that one too..
On Apr 8, 10:37 pm, Joel <[EMAIL PROTECTED]> wrote: > Try adding the line "RewriteBase /cake/" (without quotes) to > your .htaccess file in the app/webroot folder. > > -Joel. > > On Apr 8, 3:28 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote: > > > Hi all! > > > While I was working on my local workstation, I've noticed something > > strange, which might be related to the Cake core. > > > First of all, I'd like to point out that everything is working okay on > > my live site, so it's definitely not my code causing the problem (my > > live site is not in a subdir). > > > Now, on my local machine, when I go to: > > >http://localhost/cake/articles/view/cakephp-and-the-infamous-remember... > > > All the links with this slug, generated on the page, are broken. I > > other words, what should have been this: > > >http://localhost/cake/articles/edit/cakephp-and-the-infamous-remember... > > > becomes: > > >http://localhost/cake/articles/editphp-and-the-infamous-remember-me-c... > > > This has started appearing when I changed all my $html->link(...) > > calls to use reverse routes. It seems like "/cake" is being removed > > somewhere, I assume during normalization, since it's the same as the > > subdir. I didn't really look into it in detail (I don't have the time > > unfortunately), but it seems like a bug to me, not a feature. > > > What do you guys think, should I report a ticked or just forget about > > it (and not use slugs which begin with "cake")? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
