On Tuesday 18 December 2001 03:35 am, 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 127.0.0.1, port 8080, but reports itself as foo.com on port 80. > > > > <VirtualHost 127.0.0.1:8080> > > ServerName foo.com:80 > > </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?
The temporary fix is to use UseCanonicalName off. Ryan ______________________________________________________________ Ryan Bloom [EMAIL PROTECTED] Covalent Technologies [EMAIL PROTECTED] --------------------------------------------------------------