ServerName localhost RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} ServerName localhost DocumentRoot /var/www/mediawiki SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:3DES:!aNULL:!MD5:!SEED:!IDEA SSLCertificateFile ssl/autofirmado.crt SSLCertificateKeyFile ssl/autofirmado.key Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains;" ErrorLog logs/error.log LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/access.log common