Le 11/05/2015 13:32, andre_debian@numericable.fr a écrit :
On Monday 11 May 2015 12:47:08 Jean-Christophe VEY wrote:ça fonctionne sur mes sites: <VirtualHost *:80> ServerName mondomaine.tld/ RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L] </VirtualHost> Jean-ChristopheMerci. Veinard :-) Chez moi, avec ce code, toujours pas. andré
Il faut qu'apache écoute sur le port 80 et le port 443. As-tu bien les lignes LISTEN correspondantes dans /etc/apache2/ports.conf ?