Hi -


defaultHost should probably match the default (global) ServerName in Apache's httpd.conf, but I'm not sure that would "fix" anything.

From my experience, the "rule" is that for every Apache VirtualHost, there
should be a corresponding Host in server.xml.

HTH

John


On Tue, 08 Jul 2003 16:19:35 -0500, Geralyn M Hollerman <[EMAIL PROTECTED]> wrote:


Geralyn M Hollerman wrote:

The whole problem I was having here, going from 4.0.4 to 4.1.24, seemed
nothing but weird and counter to the way Tomcat usually works, and to me
that means that there's something else wrong that I haven't thought of.
Well, after staring for a while at another version of server.xml, the
comment popped out at me that my defaultHost name (in <Engine>)had to
match the name in the ServerName directive in Apache; at the time, I
just thought that was something more I needed to double-check. So I
looked at my httpd.conf - the ServerName was defined as "myserver:80",
whereas in the Tomcat 4.1.24 server.xml, it was just "myserver". So I
added the ":80" to the name in server.xml and restarted - and then
everything worked as I expected it to! (But the jury is still out as to
whether or not this caused other problems!)



-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to