httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <brian.ak...@turner.com>
Subject Re: canonical port
Date Thu, 18 Aug 2005 19:13:54 GMT
Sander Temme wrote:

> 
> Do you do more/different things?


This is what I do in translate_name:

  if((conf = ap_get_module_config(r->server->module_config, 
&port_module)) != NULL) {
         if(conf->port != NOCONFIG) {
             /*looking at server/core.c, ap_get_server_port This looks 
to be the best place
              * UseCanonicalName MUST be off, or this is ignored*/
             r->parsed_uri.port     = conf->port;
             r->parsed_uri.port_str = conf->port_str;
         }
     }


This is a fixed version which appears to have fixed my original breakage.




-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Mime
View raw message