Bug 65092

Summary: probable error in ServerName documentation
Product: Apache httpd-2 Reporter: Christoph Anton Mitterer <calestyo>
Component: DocumentationAssignee: HTTP Server Documentation List <docs>
Status: NEW ---    
Severity: minor    
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Christoph Anton Mitterer 2021-01-20 04:45:02 UTC
Hey.

mod/core.html#servername says:

"Additionally, this is used when creating self-referential redirection URLs when UseCanonicalName is set to a non-default value."

However, this seems to be wrong.
The default value of UseCanonicalName is "Off", but the non-default value might not be just "On", in which case the above sentence would be true, but also "DNS", in which case "Apache httpd does a reverse DNS lookup on the server IP address that the client connected to in order to work out self-referential URLs".

So the sentence should be rather something straight forward like:
"Additionally, this is used when creating self-referential redirection URLs when UseCanonicalName is set Off."


Cheers,
Chris.