Setting HSTS on a Subdomain



Running Owncloud on a shared hosting enviroment using FCGI. After some try all runs smooth but activating HSTS

Adding this line to my htaccess changes nothing
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
i tryed nearly every position to insert even if is the right position for it but nothing happens

any help very appreaciated!


FCGI / FastCGI is not using .htaccess files.


so why are some lines interpreted and this not?


Thats probably a question perfectly fitting in a support forums of your used webserver.


You can restrict the setting being made via .htaccess.