Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache: endloser Redirect bei physischem Verzeichnis --> Abhilfe #14

Open
Nightwing0815 opened this issue Jul 30, 2021 · 1 comment
Open

Comments

@Nightwing0815
Copy link

Nightwing0815 commented Jul 30, 2021

Sollte man den eher seltenen Fall haben, das ein Seitenalias gleich heisst, wie ein physisches Verzeichnis (= /files), kann es Probleme mit einem endlosen Redirect geben:
In meinem Fall seit Contao 4.10 mit neuem Routing und URL Suffix leer.
Abhilfe per .htaccess:
Unter RewriteEngine On:

	###	When url-suffix is empty, force slash off (apache), otherwise physically directories (e.g. '/files') aren't accessible
	DirectorySlash Off

Danke an Spooky für den wertvollen Tip!

ToM

@fritzmg
Copy link
Member

fritzmg commented Jul 31, 2021

Das Problem sollte unabhängig von der Contao Version sein (also es wird ab Contao 4 auftreten).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants