Bug 65092 - probable error in ServerName documentation
Summary: probable error in ServerName documentation
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 minor (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-20 04:45 UTC by Christoph Anton Mitterer
Modified: 2021-01-20 04:45 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.