Change standard Virtual Host file
Hello, I already searched this forum but didn’t find the answer. On my server I have several websites. Some have SSL others not. For one website I have edited the Virtual Host file for that domain with this: (located usr/local/directadmin/data/users/xxxx/) <VirtualHost xxxx:80 > <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} </IfModule> </VirtualHost> <VirtualHost xxxx:443 > Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" </Directory> </VirtualHost> But now I want to have these also for all the other websites…