Skip to content

TYPO3 v11+ needs rewrites to work with Symfony Local Web Server #286

@YetiCGN

Description

@YetiCGN

I tried to install TYPO3 11.4 LTS and running it with the Local Web Server, as I've done with version 10 hundreds of times before.

Due to an issue with how they changed their backend URLs, I can't access a working installation of TYPO3 11 with the Local Web Server. The PHP Development Server however, works perfectly fine.

Output of Symfony Local Web Server:

[Web Server ] Mar  6 11:11:06 |INFO   | SERVER POST (200) /typo3/install.php host="127.0.0.1:8004" ip="::1" scheme="https"
[Web Server ] Mar  6 11:11:08 |WARN   | SERVER GET  (404) /typo3/login ip="::1"

Output of PHP Development Server:

$ php8.1 -S localhost:8000 -t public/
[Mon Mar  6 11:29:06 2023] PHP 8.1.16 Development Server (http://localhost:8000) started
[Mon Mar  6 11:29:12 2023] 127.0.0.1:64490 Accepted
[Mon Mar  6 11:29:15 2023] 127.0.0.1:64490 [200]: GET /typo3/login?loginProvider=1433416747
[Mon Mar  6 11:29:15 2023] 127.0.0.1:64490 Closing

Basically it comes down to two front controllers, one in public/index.php (frontend) and the other in public/typo3/index.php (backend). I think what happens is that the URLs get rewritten to use the frontend front controller and the URL login is not found in the frontend.

How can I tell the Symfony Local Web Server to rewrite URLs that start with /typo3 to the backend front controller?

Edit: Oh! Maybe #259 will help. 🤞🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions