----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

    Ave!

1: ApacheJServ-1.1-2_RH6x (rpm) [but newer 1.1.1 too]

2: apache-1.3.6-7 (rpm) [but 1.3.12-4 too]

3: RedHat Linux 6.0 with some upgrades from 6.1 and 6.2 [or "pure"
6.2]

4: I need to detect, if the client is using HTTP or HTTPS. In new
JSDK2.2 is in
servletRequest method isSecure(), but JServ is using JSDK2.0 not
JSDK2.2. I tried to use getHeaders, but it just returns to me headers
of (accept-charset , accept-language , host , cookie , accept ,
user-agent , connection , accept-encoding) which are unusable for
this... and getRequestURI returns to me only path after host part, eg.
instead of "https://localhost/hqbs/httpstest/Start/Start" it returns
"/hqbs/httpstest/Start/Start" :(

   It will be enough if I have access to environment variables as in
CGI scripts - there is variable "HTTPS" set "on" if it is secure
connection. 

   Have somebody some experience how to do it, or must I surrender and
wait for JServ x.x.x based on JSDK 2.2?

   Thank you,

J.Ch.
+----------------------------------------------------------+
| Ing. Jozef Chocholacek            Qbizm technologies     |
| [EMAIL PROTECTED]       Division INET-Services |
| +420 5 41242414                   http://www.qbizm.com/  |
+----------------------------------------------------------+


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to