Project

General

Profile

Actions

Bug #91431

closed

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

Added by Rolf Kiefhaber over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
2020-05-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Rolf Kiefhaber over 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
Actions #2

Updated by Rolf Kiefhaber over 4 years ago

  • Description updated (diff)
Actions #3

Updated by Oliver Hader over 4 years ago

  • Category set to Documentation
location ~ [^/]\.php(/|$) {

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

Actions #4

Updated by Lina Wolf about 2 years ago

  • Status changed from New to Closed

The nginx configuration has been updated

Actions

Also available in: Atom PDF