-
Notifications
You must be signed in to change notification settings - Fork 28
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
Invalid character error on valid ServerName directive containing scheme:// #321
Comments
Oh, did not even know that was a thing. Is this in the base server or in virtual hosts contexts? Would a ServerAlias with just the DNS name help as a temporary workaround? |
Neither did I until I ran into the failing redirects 😃
This is in a VirtualHost context
It is the We've just removed the For completeness, this works:
But this results in the "invalid character" error:
We're now using:
All in all, replacing |
Thanks. I read httpd's code here:
tl;dr What should work in your setup is:
The Therefore, I do not see anything to fix in |
We're running into an error for domains where the
ServerName
contains ascheme://
prefix.For servers where there's an SSL off-load in front of the Apache server, you must add scheme:// to the ServerName to force correct generation of redirect URLs.
The text was updated successfully, but these errors were encountered: