Check if the page called from HTTP or HTTPS
Posted: Fri Jul 29, 2022 7:54 pm
Dear Antonio,
Can we check if a call is from http or https?
Best regards,
Otto
I need
TEMPLATE
<script>
document.write(document.location)
</script>
ENDTEXT
but in mod harbour.
So I thought to take AP_HeadersIN() Host-key and AP_FileName() and STRTAN() to change \/ and drive APACHE dir C:/www/htdocs to https://domain and rest from AP_filename()
Can we check if a call is from http or https?
Best regards,
Otto
I need
TEMPLATE
<script>
document.write(document.location)
</script>
ENDTEXT
but in mod harbour.
So I thought to take AP_HeadersIN() Host-key and AP_FileName() and STRTAN() to change \/ and drive APACHE dir C:/www/htdocs to https://domain and rest from AP_filename()