On 4/27/05, Bob Bronson <[EMAIL PROTECTED]> wrote:
> 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?

As it did sound funky enough to be verifiable, I tried it. Renamed
index.html -> index.htm in servlet-examples, but it worked fine
(/servlet-examples/ returns the file, as does
/servlet-examples/index.htm, but /servlet-examples/index.html returns
a 404).

-- 
xxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxx

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

Reply via email to