.htaccess 346 B

1234567891011
  1. # don't allow people to retrieve non-cgi executable files or our private data
  2. <FilesMatch ^(.*\.pm|.*\.pl|.*localconfig.*)$>
  3. deny from all
  4. </FilesMatch>
  5. <FilesMatch ^(localconfig.js|localconfig.rdf)$>
  6. allow from all
  7. </FilesMatch>
  8. # Force all connections to HTTPS for 90 days at a time.
  9. Header set Strict-Transport-Security "max-age=7776000"