I have 5.5.7 and it seems to work ok - not much help - but -

Suggestion ( and a WAG ) check the web.xml in conf for the following mime
mapping:

    <mime-mapping>
        <extension>htm</extension>
        <mime-type>text/html</mime-type>
    </mime-mapping>

Let us know...

-----Original Message-----
From: Bob Bronson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 11:13 PM
To: [email protected]
Subject: TC v5.5.9 Won't Server *.htm Files


Hello all,

I'm sure this must be a configuration issue. I am running TC 5.5.9 as a
stand-alone server (not w/Apache). The problem I'm seeing is that when I
point my browser to an "index.htm" file, Tomcat gives me a 404, telling me
it cannot find "index.jsp".

Please notice I said, "index.htm" and not "index.html".

Here's a peek at the HTTP headers as captured by Firefox. I'm only showing
the relevant headers.

GET /fred/bob/index.htm HTTP/1.1
Host: xxx.test1.com

HTTP/1.x 404 /fred/bob/index.jsp
Server: Apache-Coyote/1.1


Is that crazy? I'm asking for index.htm and it  *DOES* exist. If I rename it
to index.html everything works fine.

I know what you're thinking -- probably I do not have the "welcome files"
set right in my default web.xml. Well, here it is:

    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

And I am *NOT* overriding these in the web app's web.xml.

Can someone running TC 5.5.9 as a standalone server please see if you can
serve an index.htm file?

Thanks much,

Bob



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


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

Reply via email to