Is there a away to check if apache has a ssl certificate installed with htaccess, before running any RewriteCond or RewriteRule for https?
E.g.:
Apache has ssl certificate installed then RewriteCond {HTTPS} !on RewriteRule %{HTTP_HOST}%{REQUEST_URI}
Thanks!