Mailing List Archive

[Bug 65095] please clarify "default port" in UseCanonicalPhysicalPort documentation
https://bz.apache.org/bugzilla/show_bug.cgi?id=65095

--- Comment #1 from Christoph Anton Mitterer <calestyo@scientia.net> ---
Oh and perhaps please clarify the following in addition:

Is there any risk or other drawback in using the non-default
UseCanonicalPhysicalPort On


I just wondered that the default is Off, cause to me it seemed like the more
"natural" behaviour if Apache would use the physical port (actually even over
the "Port provided in Servername" respectively "Parsed port from Host:
header")... cause this is the port where it's already clear that the client
"successfully" ended up at the vhost that also sends the redirect (which likely
goes into the vhost again - when we speak of things like error documents or
mod_dir /-addition).

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 65095] please clarify "default port" in UseCanonicalPhysicalPort documentation [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65095

--- Comment #2 from Christoph Anton Mitterer <calestyo@scientia.net> ---
And one more:

It seems at least in the UseCanonicalName On (but probably also for off) AND
UseCanonicalPhysicalPort On case:


The two lines "Port provided in Servername" in the order list of the doc really
mean "the LITERALLY provided port number, if any".

That is if one says:
a) ServerName example.org
=> the rule *won't* kick in, and e.g. the physical port kicks in

but:
b) ServerName example.org:80 (i.e. the :80 literally written in the config, and
not just the silent "default"
=> the rule *does* kick in, and e.g. the physical port is ignored

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org