case sensititivity with users controller on certain hosting
Posted
by Leo
on Stack Overflow
See other posts from Stack Overflow
or by Leo
Published on 2010-05-27T15:22:33Z
Indexed on
2010/05/27
17:21 UTC
Read the original article
Hit count: 148
cakephp
|case-sensitive
We generally use two different hosting services. On one, everything works ticketyboo, as it does on my local dev servers. On the other server, however, I am having this problem:
I can't access the users controller like this: http://www.example.com/users/login
But I can like this: http://www.example.com/Users/login
** note the capitalised 'Users' **
If I displace the application to a sub-folder everything works fine (both upper- and lowercase).
The hosting company have looked at it and can't see a problem at their end and they assure me that users is not a reserved word.
You might say this isn't a problem, just use the version that works. Unfortunately it leads to problems downstream where Cake core starts generating urls itself.
Anybody else seen this problem or know the solution?
[This only occurs on the users controller - all others work as expected]
© Stack Overflow or respective owner