You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Slava Kudinov <sl...@mail.ru> on 2002/12/04 17:52:16 UTC

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:slvk@mail.ru


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>