Whoops found the answer straight after posting!
I was debugging a few days ago and set
Configure::write('App.base', '/');
for some reason and that was messing it up!
On Nov 20, 1:02 pm, acoustic_overdrive <[EMAIL PROTECTED]>
wrote:
> On my production server when I navigate towww.mysite.com/admin/pages
> I am getting redirected to /userslogin instead of /users/login, and of
> course I get a 404.
>
> If I then correct it to /users/login and enter my details I'm
> redirected to /adminpages instead of /admin/pages.
>
> Has anyone any idea what's causing this? It's working fine on my dev
> machine, and I'm sure it was working fine until this morning on the
> server!
>
> J
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---