Untitled
public text v1 · immutable<VirtualHost www.xxx.net>
DocumentRoot "/var/apache/htdocs"
ServerName xxx.net
<Directory "/var/apache/htdocs">
allow from all
Options -Indexes +FollowSymlinks
</Directory>
<Directory "/var/apache/htdocs/consommation">
RewriteEngine On
Options +FollowSymLinks
Order allow,deny
Allow from all
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
</Directory>
</VirtualHost>