httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Canavan <rainer.cana...@sevenval.com>
Subject Re: [users@httpd] How can I detect if SSLEngine is ON?
Date Wed, 25 Oct 2017 13:34:59 GMT
[...]
> But, I don’t just need to know if a module is available: once the module is loaded,
its available for all virtualhosts.  I need to know if the SSLEngine has been enabled within
a virtualhost so I can do something like the following:

mod_ssl sets the environment variable HTTPS to "on" if the current
request was received via https. You should be able to use the "env="
conditions for Header set to get your example to work as intended.

https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#envvars

rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message