This has been fixed after the release of 4.1.12.  Grab version 1.12 of 
org.apache.coyote.tomcat4.CoyoteAdapter.java out of cvs, compile it, and put it in 
server/lib/tomcat-coyote.jar.  That should fix the scheme problem.

-----Original Message-----
From: Slava Kudinov [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 10:52 AM
To: Tomcat Users List
Subject: Apache, JK2, SSL and "channel.jni:jni": Wrong request scheme


Hello,

I use Apache 2.0, Tomcat 4.1.12 with JK2 connector configured on
"channel.jni:jni" mode. Regardless of which scheme used in web-browser
http or https, request.getScheme() always returns "http". Of course, I
can perform secure context check based on request.getServerPort() but
this solution requires server ports to be specified somewhere inside
application. I think, it would be more correct if JK2 or Coyote
connector does not corrupt request scheme.

-- 
Best regards,
 Slava                          mailto:[EMAIL PROTECTED]


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


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

Reply via email to