I have a multilingual Craft CMS site working perfectly on my local instance, OS X 10.10.5 running Apache 2.4.16, and so I moved the site to AWS, Amazon Linux 4.1.13-18.26.amzn1.x86_64 also running Apache 2.4.16, however, all of my locales are now case sensitive!
On my local I have
http://<site>/en_us/page
on AWS this gives me an error, The requested URL /en_us/page was not found on this server.
, a hard 404. [i.e. not the templated 404 page I have configured in craft for missing content]
However, when I use http://<site>/en_US/page
, i.e. using the ISO standard capitalisation for the country code, I get all of the content perfectly fine. All of my links, and configuration, is of course based upon the lowercase way that Craft normally uses locales, and so the links are all broken on AWS.
I have also noticed that the CP URL is using a querystring on AWS instead of rewriting; i.e. /en_US/index.php?p=admin/settings/locales
instead of en_us/admin/settings/locales
[which may be a related issue]
As the rewriting for the CMS works, /en_US/page actually gets the right template and content, I am puzzled as to what I may have missed in configuring my AWS instance.
Has anyone seen anything like this, or have some pointers?