httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Modifing the behavior of mod_dir redirects
Date Fri, 20 Jun 2003 22:46:04 GMT

On Fri, 20 Jun 2003, Aaron Morris wrote:
> ie  A request to "", mod_dir issues a 301
> redirect to "".  In my environment, since
> Apache receives the request on a different port number the redirect
> reflects the internal port number instead of the port from the
> perspective of the internet.  ie  ""

UseCanonicalName On
Listen 80
Port 10000

Check the docs on all three of these directives (as well as ServerName).
You'll see that, when a Listen directive is present, the Port directive
does not set the actual port used by apache, but only the port used in
redirects (and similar self-identifying actions).


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message