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

Pre-login the help pages and System web redirect loop #26

Closed
timlegge opened this issue May 5, 2020 · 2 comments
Closed

Pre-login the help pages and System web redirect loop #26

timlegge opened this issue May 5, 2020 · 2 comments
Assignees

Comments

@timlegge
Copy link
Owner

timlegge commented May 5, 2020

Prior to login clicking on the System Web or the Help Menu items results in a redirect loop:

http://docker-foswiki.local:8765/bin/oops/System/AdminDocumentationCategory?template=oopsredirectdenied;def=redirect_denied;param1=http://docker-foswiki.local:8765/Main/WebHome;param2=http://localhost

@MichaelDaum
Copy link

MichaelDaum commented May 5, 2020

Is this happening as a WikiGuest or anytime, even when authenticated? If not authenticated yet, AutoRedirectPlugin might kick in trying to obfuscate any access to the System web. The next thing to look for why this redirect fails is DefaultUrlHost not being set correctly: it seems to default to http://localhost (being set twice in

tools/configure -save -set {DefaultUrlHost}='http://localhost' && \
). This blocks any other redirect. Next, AutoRedirectPlugin kicks in again and the loop starts over again, it seems. Or add additional urls to PermittedRedirectHostUrls.

@timlegge
Copy link
Owner Author

timlegge commented May 5, 2020 via email

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