Le samedi 24 novembre 2012 à 16:58 +0100, André Warnier a écrit :

> Is there somewhere a "is_secure()" or something which provides that ?
> Or can I rely on the presence/absence of some request header ?
> 


Apache's mod_rewrite has the HTTPS RewriteCond directive, which I use to
enforce https access on a site like so:

 RewriteCond %{HTTPS} off

 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

May be you can use this to mark the request somehow?

-- 
Vincent Veyron
http://marica.fr/
Logiciel de gestion des assurances sinistres et des dossiers contentieux pour 
le service juridique

Reply via email to