Hi.

I have defined a web application (actually tomcat-docs) that should be
redirected or moreover, viewed under https. If I try it with Netscape or
Opera everything works fine. The tomcat-docs link is redirected to port
8443 and thus opened via https. The problem comes when I try to use
Microsoft Internet Explorer. It just won't display the page (The page
cannot be displayed) and won't even redirect me to port 8443. It keeps
insisting on trying to view the docs under 8080 which of course, will
give an error. TLS 1.0 is selected on MS Internet Explorer and I still
get the same error.

These are some of the results I get in my log files:

2001-11-26 11:37:57 HttpProcessor[8080][3]  Header referer =
http://www.someweb.com:8080/index.html
2001-11-26 11:37:57 HttpProcessor[8080][3]  Header accept-language = es
2001-11-26 11:37:57 HttpProcessor[8080][3]  Adding locale 'es'
2001-11-26 11:37:57 HttpProcessor[8080][3]  Header accept-encoding =
gzip, deflate
2001-11-26 11:37:57 HttpProcessor[8080][3]  Header user-agent =
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)
2001-11-26 11:37:57 HttpProcessor[8080][3]  Header host =
www.someweb.com:8080
2001-11-26 11:37:57 HttpProcessor[8080][3]  Header connection =
Keep-Alive
2001-11-26 11:37:57 HttpProcessor[8080][3]   parseConnection:
address=server/192.168.1.51, port=8080
2001-11-26 11:38:55 HttpProcessor[8080][3]  An incoming request is being
assigned
2001-11-26 11:38:55 HttpProcessor[8080][3]   The incoming request has
been awaited
2001-11-26 11:38:55 HttpProcessor[8080][3]   parseConnection:
address=server/192.168.1.51, port=8080
2001-11-26 11:38:55 HttpProcessor[8080][3] Normalized:
'<??>?Zt???G?Q???k-???%??' to '/<??>?Zt???G?Q???k-???%??'
2001-11-26 11:38:55 HttpProcessor[8080][3]  Request is
'[W?O??O????g8??9A*???7?I??]<' °?? '<??>?Z????G?Q????-???%??' ????
????????
'HTTP/0.9'


I don't understand why I get this garbage: "Normalized:
'<??>?Zt???G?Q???k-???%??' to ......"


more logs:

2001-11-26 11:37:39 StandardHost[www.someweb.com]:  Mapped to context ''
2001-11-26 11:37:57 StandardHost[www.someweb.com]: Mapping request URI
'/tomcat-docs'
2001-11-26 11:37:57 StandardHost[www.someweb.com]:   Trying the longest
context path prefix
2001-11-26 11:37:57 StandardHost[www.someweb.com]:  Mapped to context
'/tomcat-docs'
2001-11-26 11:38:55 StandardHost[www.someweb.com]: Mapping request URI
'/tomcat-docs'
2001-11-26 11:38:55 StandardHost[www.someweb.com]:   Trying the longest
context path prefix
2001-11-26 11:38:55 StandardHost[www.someweb.com]:  Mapped to context
'/tomcat-docs'
2001-11-26 11:38:55 StandardHost[www.someweb.com]: Mapping request URI
'/<??>?Zt???G?Q???k-???%??'
2001-11-26 11:38:55 StandardHost[www.someweb.com]:   Trying the longest
context path prefix
2001-11-26 11:38:55 StandardHost[www.someweb.com]:  Mapped to context ''


and finally:

192.168.1.51 - - [26/Nov/2001:11:37:39 1000] "GET / HTTP/1.1" 302 240
192.168.1.51 - - [26/Nov/2001:11:37:39 1000] "GET /index.html HTTP/1.1"
200 6680
192.168.1.51 - - [26/Nov/2001:11:37:39 1000] "GET /jakarta-banner.gif
HTTP/1.1" 200 8006
192.168.1.51 - - [26/Nov/2001:11:37:39 1000] "GET /tomcat-power.gif
HTTP/1.1" 200 2324
192.168.1.51 - - [26/Nov/2001:11:37:39 1000] "GET /tomcat.gif HTTP/1.1"
200 1934
192.168.1.51 - - [26/Nov/2001:11:37:57 1000] "GET /tomcat-docs HTTP/1.1"
302 -
192.168.1.51 - - [26/Nov/2001:11:38:55 1000] "GET /tomcat-docs HTTP/1.1"
302 240
192.168.1.51 - - [26/Nov/2001:11:38:55 1000]
"[W?O??O????g8??9A*???7?I??]< /<??>?Zt???G?Q???k-???%?? HTTP/0.9" 400
242



My web.xml file for tomcat-docs is defined as follows:

<?xml version="1.0" encoding="ISO-8859-1"?>
 
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>
 
<web-app>
 
   <context-param>
      <param-name>HTTPS_URL_PATTERNS</param-name>
         <param-value>/*,/tomcat-docs/*,index.html</param-value>
   </context-param>
 
   <security-constraint>
      <web-resource-collection>
         <web-resource-name>HTTPS_URL_PATTERNS</web-resource-name>
         <url-pattern>/*</url-pattern>
      </web-resource-collection>
      <user-data-constraint>
         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
      </user-data-constraint>
   </security-constraint>
 
</web-app>

Thanks in advance,

Erik.

-- 
Tu voudrais donner des yeux à la justice
Impossible de violer cette femme pleine de vices
--Antisocial, Trust.

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

Reply via email to