I assisted a client install contao on our services at WebFaction today and had a similar issue.

We use a front-end nginx proxy server to route URLs and so this was happening. I resolved it by...