Commit 06cf8f6e authored by Till Brehm's avatar Till Brehm

Merge branch 'revert-ca7c77d9' into 'stable-3.1'

Revert "Update apache_ispconfig.vhost.master"

See merge request !823
parents eada920c c825a736
......@@ -88,7 +88,7 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
</tmpl_if>
<IfModule mod_headers.c>
Header setifempty Strict-Transport-Security "max-age=15768000"
Header setifempty add Strict-Transport-Security "max-age=15768000"
RequestHeader unset Proxy early
</IfModule>
......
  • I believe this change is incorrect, I get a syntax error with the "add" left in.

    The issue in https://www.howtoforge.com/community/threads/email-settings.80255/#post-380283 is likely the version of apache in centos6, which a web search says is 2.4.6, and SetIfEmpty was added in 2.4.7. A better fix would be an check, using 'set' if < 2.4.7 and 'setifempty' otherwise.

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment