Bug #91431
closedProvided Nginx config not working with Typo3 9 with GET parameters in other languages
0%
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
Updated by Rolf Kiefhaber about 4 years ago
- Subject changed from Provided Nginx not working with Typo3 9 with GET parameters in other languages to Provided Nginx config not working with Typo3 9 with GET parameters in other languages
Updated by Oliver Hader about 4 years ago
- Category set to Documentation
location ~ [^/]\.php(/|$) {
Just mentioning the problem for require URIs have a path (a slash in their URI)
Updated by Lina Wolf almost 2 years ago
- Status changed from New to Closed
The nginx configuration has been updated