Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3
          tomcat 4.1.12, BlackDown Java SDK 1.3.1,
          Struts 1.1-b2

Is there a way to pass the scheme used by the client when talking to
the apache server (ie. "http" or "https") through the Coyote AJP 1.3
connector? 

If I use the old AJP 1.3 connector, I can use the
HttpServletRequest.isSecure() function to determine if the client used
an HTTPS connection to the apache server.

With the Coyote AJP 1.3 connector this information is lost.
Ie. HttpServletRequest.isSecure() always returns false, and
HttpServletRequest.getScheme() always returns "http".

The <Connector> elelement for Coyote have the attributes secure, and
scheme, which affects the above values of HttpServletRequest.  But
these settings are constants.

Do I need to set up a separate AJP 1.3 connection on a different port
to handle HTTPS requests to apache?  If so, how's that done?

Thanx!


- Steinar



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to