events_makeinsecure

one of the documented procedures in this installation of the ACS
Usage:
events_makeinsecure
What it does:
If the user requests a secure page, they'll be redirected to the insecure version of that page. This is probably not the function you want because Netscape throws up a "the document you requested was supposed to be secure" window. events_insecureurl is probably a better choice
Defined in: /web/philip/tcl/events-defs.tcl

Source code:

 
    if {[ns_conn driver] != "nsssl"} {
        return
    } else {
        set url "http://[ns_config ns/server/[ns_info server]/module/nssock Hostname]"
        set port [ns_config ns/server/[ns_info server]/module/nssock Port]
        if ![empty_string_p $port] {
            append url ":$port"
        }
        append url [ns_conn url]
        set query_string [ns_conn query]
        if ![empty_string_p $query_string] {
            append secure_url "?$query_string"
        }
        ad_returnredirect $url
        ad_script_abort
    }


philg@mit.edu