SP behind proxy - ServerName not used
cantor.2 at osu.edu
Tue Mar 13 19:35:36 EDT 2018
> IFIAK such an error message is usually caused by missing X-Forwarded headers
> or an apache misconfiguration, like not having set ServerName properly to the
> external URL.
ServerName should be sufficient to address all this, and it always has been as far as I'm aware. If you're involving headers and trying to do something with them, perhaps that's interfering and perhaps overriding things. Otherwise the usual explanation is that it's falling into the wrong vhost definition.
Obviously the best thing, which you probably already did, is turn off the SP and ignore that part until SERVER_NAME and SERVER_PORT are correct for every request.
More information about the users