Closed ghost closed 9 years ago
Comment by @aschempp Monday Mar 09, 2015 at 13:02 GMT
I noticed this too. However, it's not a bug in Contao 4, I found the same in Contao 3 if you have no 404-page redirecting to the language root… All routes (including the ones you mentioned) are forwarded to our Controller, but the "legacy" code does not handle them.
Comment by @leofeyer Monday Mar 09, 2015 at 13:16 GMT
I just tested it:
http://localhost/contao3
takes me to http://localhost/contao3/en/
[OK]http://localhost/contao3/
takes me to http://localhost/contao3/en/
[OK]http://localhost/contao3/en
takes me to http://localhost/contao3/en/en
[NOK]In contrast:
http://contao4.local/
throws a ResourceNotFoundException
[NOK]http://contao4.local/en
also throws a ResourceNotFoundException
[NOK]This might of course be due to an incomplete URL rewrite configuration. But couldn't we add routes to handle these cases?
Comment by @aschempp Monday Mar 09, 2015 at 13:28 GMT
Also see https://github.com/contao/core/issues/7666
I never got a ResourceNotFound
, I did get a die_nicely
with page-not-found.
See #71 and #76.
Issue by @leofeyer Friday Mar 06, 2015 at 20:48 GMT
The following routes no longer work:
http://contao.local/app_dev.php/
http://contao.local/app_dev.php/en
@aschempp I guess that's why we had a
contao_root
route in the previous version of the front end loader?