htaccess.sh
· 166 B · Bash
Raw
echo -e \
"<IfModule mod_headers.c>\n\tHeader always set Strict-Transport-Security \"max-age=15552000; includeSubDomains\"\n</IfModule>" \
>> /var/www/html/.htaccess
1 | echo -e \ |
2 | "<IfModule mod_headers.c>\n\tHeader always set Strict-Transport-Security \"max-age=15552000; includeSubDomains\"\n</IfModule>" \ |
3 | >> /var/www/html/.htaccess |