• Resolved bcooper63

    (@bcooper63)


    In addition to running out site at SiteGround we run it a developer environment for developing a plugin we use with WordPress. After a recent sync with the production environment the site failed to load in the development environment. The reason ended up being that the SG Optimizer plugin added “Header unset Vary” to .htaccess without ensuring that the headers module is loaded.

    Ideally this would have been inject as:
    # SGO Unset Vary
    <IfModule mod_headers.c>
    Header unset Vary
    </IfModule>
    # SGO Unset Vary END

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Mod headers is loaded on all SiteGround servers and the plugin is designed to work on our servers only so that check is not necessary. You can patch it on your local environment.

    Thread Starter bcooper63

    (@bcooper63)

    I have patched my local environment but the next time I sync with production it will be overwritten.

    This is an easy change to the user-agent-vary.tpl file and has no impact to the plugin.

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Great, glad it works 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Header unset Vary kills Apache’ is closed to new replies.