httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <>
Subject Re: Virutal Host and ServerName with ports...
Date Tue, 18 Dec 2001 14:22:35 GMT
jean-frederic clere <> wrote:

> Ryan Bloom wrote:
>> Hi.
>> The big thing about ServerName in 2.0 is that it has taken over for the Port
>> directive from 1.3. So, the following config means that the server
>> listens on, port 8080, but reports itself as on port 80.
>> <VirtualHost>
>>     ServerName
>> </VirtualHost>
>> That reporting is done whenever the server creates a self-referential
>> URL, which is done by mod_dir, and in all error pages among other
>> places in the code.
>> The ServerName directive NEVER controls the port that the server
>> actuall listens on.
> Hi,
> That brings a small problem in mod_webapp:
> The ServerName hostname:port is used to build the virtual host for Tomcat.
> A redirect from Tomcat will come for hostname:port...
> This fails if the port is not the one used for the listen...
> Any hints to solve this?

This whole thing is _screwed_ in Tomcat... I posted a couple of months ago
about it on the list, but apparently noone wants to fix it (or "it fucked
but it works for them")... Bah... I'm tired...


View raw message