Ruediger Pluem wrote:
>
> if (d->use_canonical_name == USE_CANONICAL_NAME_OFF
> || d->use_canonical_name == USE_CANONICAL_NAME_DNS) {
>
> /* With UseCanonicalName off Apache will form self-referential
> * URLs using the hostname and port supplied by the client if
> * any are supplied (otherwise it will use the canonical name).
> */
> port = r->parsed_uri.port_str ? r->parsed_uri.port :
> r->connection->local_addr->port ?
> r->connection->local_addr->port :
> r->server->port ? r->server->port :
> ap_default_port(r);
> }
> else { /* d->use_canonical_name == USE_CANONICAL_NAME_ON */
>
> Is this correct?
>
This is something that is documented as a change in 2.0 -> 2.1/2.2
as well as something that was discussed when the change was
made. I suggested, iirc, some other UCN option which emulated
the 2.0 behavior... This is, I believe, still the right way
to go, esp now since it requires an API change for 2.1/2.2/2.3.
In fact, I think I still have the patch around here for that.
--
=======================================================================
Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/
"If you can dodge a wrench, you can dodge a ball."