> > I'm using IBM's version of Apache 1.3.6 and JRun 3.0 on Redhat 6.2.
> > All of these methods:
> >   getHeader("server_protocol")
> >   getProtocol()
> >   getScheme()
> >   isSecure()
> > Anybody seen this, or know how to remedy it?  Thanks.

The apache connector source (mod_jrun.c, installed in default jrun 3.x)
has this code in the request-handler:

        /* ED 3/4/99 check whether we are running secure */
        if (strcasecmp(http_method(req),"https") == 0) {
                table_set(req->subprocess_env, "SERVER_PORT_SECURE", "1");
        } else {
                table_set(req->subprocess_env, "SERVER_PORT_SECURE", "0");
        }
which is the only place "https" is mentioned.
Maybe
        System.getenv("SERVER_PORT_SECURE"); /* deprecated */ will give, or
        System.getProperty("SERVER_PORT_SECURE","0");

If not, it should be trivial to adapt mod_jrun to build a more infromative
request..

john


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to