RE: Giving access to an html file in tomcat

2003-12-08 Thread Bender, Christopher
if i go to

http://localhost/dmt/error/error.htm

or

http://localhost:8080/dmt/error/error.htm

the page comes up.  If i trigger the error code 403, i get it thrown back to me as an 
IE error, and I do not see my page./

-Original Message-
From: Bender, Christopher 
Sent: Monday, December 08, 2003 3:40 PM
To: Tomcat Users List
Subject: Giving access to an html file in tomcat


Hey,

I have added the following to my web.xml of one of my web apps:

error-page
error-code403/error-code
location/error/error.htm/location
/error-page


When I try and test this (go to a page I do not have access to that will throw a 403 
error),  i get the Internet Explorer error page that says You might not have 
permission to view this directory or page using the credentials you supplied and not 
my page (and not even a tomcat page).

Am I missing some configuration somewhere?

-
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: Giving access to an html file in tomcat

2003-12-08 Thread Shapira, Yoav

Howdy,
Turn off the Display Friendly Error Pages option in the IE preferences
section.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Bender, Christopher [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 4:02 PM
To: Tomcat Users List
Subject: RE: Giving access to an html file in tomcat

if i go to

http://localhost/dmt/error/error.htm

or

http://localhost:8080/dmt/error/error.htm

the page comes up.  If i trigger the error code 403, i get it thrown
back
to me as an IE error, and I do not see my page./

-Original Message-
From: Bender, Christopher
Sent: Monday, December 08, 2003 3:40 PM
To: Tomcat Users List
Subject: Giving access to an html file in tomcat


Hey,

I have added the following to my web.xml of one of my web apps:

   error-page
   error-code403/error-code
   location/error/error.htm/location
   /error-page


When I try and test this (go to a page I do not have access to that
will
throw a 403 error),  i get the Internet Explorer error page that says
You
might not have permission to view this directory or page using the
credentials you supplied and not my page (and not even a tomcat page).

Am I missing some configuration somewhere?

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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Giving access to an html file in tomcat

2003-12-08 Thread Cees van de Griend
On Monday 08 December 2003 21:40, Bender, Christopher wrote:
 Hey,

 I have added the following to my web.xml of one of my web apps:

   error-page
   error-code403/error-code
   location/error/error.htm/location
   /error-page


 When I try and test this (go to a page I do not have access to that will
 throw a 403 error),  i get the Internet Explorer error page that says You
 might not have permission to view this directory or page using the
 credentials you supplied and not my page (and not even a tomcat page).

 Am I missing some configuration somewhere?

IE has some (un)helpfull option which translates error codes to a self 
generated page. If I recall correctly, it shows the correct page if the size 
of the error page is greater then some KB (8 KB?).

So, you have 2 options: disable the option in IE or generate larger error 
pages.

Regards,
Cees.

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



RE: Giving access to an html file in tomcat

2003-12-08 Thread Steph Richardson
IE uses some voodoo logic to decide when to show it's own error page or not. Anytime 
it get's something other than a HTTP 200 or
302, it looks at the HTML returned with it, and if it seems to be a well-formed html 
doc, and/or exceeds a certain length, then it
will show that HTML, else it decides to show it's own Friendly HTTP Error page ( 
which IMHO is completely useless to experienced
and novice users alike, but that's beside the point ).

You can turn off this behaviour in Tools-Internet Options-Advanced-Browsing-Show 
Friendly HTTP Error Messages
And this will at least show you exactly what you are returning to the browser.


Steph


 -Original Message-
 From: Bender, Christopher [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 08, 2003 3:40 PM
 To: Tomcat Users List
 Subject: Giving access to an html file in tomcat


 Hey,

 I have added the following to my web.xml of one of my web apps:

   error-page
   error-code403/error-code
   location/error/error.htm/location
   /error-page


 When I try and test this (go to a page I do not have access to that will throw a 403 
 error),  i get the Internet Explorer
 error page that says You might not have permission to view this directory or page 
 using the credentials you supplied
 and not my page (and not even a tomcat page).

 Am I missing some configuration somewhere?

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