RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION BEGIN PassengerAppRoot "/home/wdgl1530/antinote.fr" PassengerBaseURI "/" PassengerPython "/home/wdgl1530/virtualenv/antinote.fr/3.10/bin/python" PassengerAppLogFile "/home/wdgl1530/logs/passenger.log" # DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION END # DO NOT REMOVE OR MODIFY. CLOUDLINUX ENV VARS CONFIGURATION BEGIN # DO NOT REMOVE OR MODIFY. CLOUDLINUX ENV VARS CONFIGURATION END