Issue Bug Closed

#91431Provided Nginx config not working with Typo3 9 with GET parameters in other languages

Rolf Kiefhaber 05/18/20, 14:37 updated 09/05/22, 13:36

Description

The Nginx Config provided at https://docs.typo3.org/m/typo3/guide-installation/master/en-us/In-depth/SystemRequirements/Index.html has a problem with GET parameters in other languages.

Lets assume you have two languages installed. English with / as Entry Point and German with /de/ as Entry Point and localhost as domain.
The following URL works:
http://localhost/index.php?id=1
but the following URL does not:
http://localhost/de/index.php?id=1

With Apache both URLs work. Nginx returns a 404 error (returned in the PHP location block). This is especially problematic if pages with a custom typeNum are defined. They always return a nginx 404 error page in other languages.

Edit: Fixed example URLs

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 4

  1. Rolf Kiefhaber changed subject Provided Nginx not working with Typo3 9 with GET parameters in other languages Provided Nginx config not working with Typo3 9 with GET parameters in other languages 05/18/20, 14:37

  2. Rolf Kiefhaber changed description 05/18/20, 14:53

  3. Oliver Hader commented and changed category 05/18/20, 14:56

    location ~ [^/]\.php(/|$) {

    Just mentioning the problem for require URIs have a path (a slash in their URI)

  4. Lina Wolf commented and changed status New Closed 09/05/22, 13:36

    The nginx configuration has been updated