Re: Why does tomcat redirect to welcome files

2005-09-07 Thread Mark Thomas

Jim Kennedy wrote:

Thanks Mark, found some good info.  Another question:

Is is possible to force a forwards for welcome pages with Tomcat.  Is there
an engine setting for that? Or would I be forced to change the Tomcat
source. I notice with other web servers (i.e. IIS) I can specify a default
page which returns HTTP 200 code instead of redirect codes.

Thanks


You'd need to change the source.

Mark


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



RE: Why does tomcat redirect to welcome files

2005-09-06 Thread Jim Kennedy
Thanks Mark, found some good info.  Another question:

Is is possible to force a forwards for welcome pages with Tomcat.  Is there
an engine setting for that? Or would I be forced to change the Tomcat
source. I notice with other web servers (i.e. IIS) I can specify a default
page which returns HTTP 200 code instead of redirect codes.

Thanks


-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 04, 2005 3:19 PM
To: Tomcat Users List
Subject: Re: Why does tomcat redirect to welcome files

Jim Kennedy wrote:
 I have setup Tomcat to use index.html as the only welcome file.  I 
 noticed that the engine redirects to index.html.  I'm wondering why 
 that is the case.  I would prefer Status: HTTP/1.1 200 OK
 Not:  Status: HTTP/1.1 302 Moved Temporarily

spec quote section=SRV.9.10
The container may send the request to the welcome resource with a forward, a
redirect, or a container specific mechanism that is indistinguishable from a
direct request.
/spec-quote

There is also the issue of security constraints. See
http://marc.theaimsgroup.com/?l=tomcat-devm=110980317127394w=2 for a
discussion.



-
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]



Re: Why does tomcat redirect to welcome files

2005-09-04 Thread Mark Thomas

Jim Kennedy wrote:

I have setup Tomcat to use index.html as the only welcome file.  I noticed
that the engine redirects to index.html.  I'm wondering why that is the
case.  I would prefer Status: HTTP/1.1 200 OK 
Not:  Status: HTTP/1.1 302 Moved Temporarily 


spec quote section=SRV.9.10
The container may send the request to the welcome resource with a 
forward, a redirect, or a container specific mechanism that is 
indistinguishable from a direct request.

/spec-quote

There is also the issue of security constraints. See 
http://marc.theaimsgroup.com/?l=tomcat-devm=110980317127394w=2 for a 
discussion.




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