Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-Frame-Options problems with analytics system #68

Closed
alexander-akait opened this issue May 29, 2015 · 1 comment
Closed

X-Frame-Options problems with analytics system #68

alexander-akait opened this issue May 29, 2015 · 1 comment

Comments

@alexander-akait
Copy link

Exclude header for google analytics and yandex metrica and some url(user-definable)

@alexander-akait
Copy link
Author

Maybe solution

SetEnvIf Referer "^.*?\.yandex\.(com|ru|net|st).*?$" NO_X_FRAME_OPTIONS
SetEnvIf Referer "^.*?\.google\.(com|ru).*?$" NO_X_FRAME_OPTIONS
SetEnvIf Referer "^.*?\.bing\.com.*?$" NO_X_FRAME_OPTIONS
Header set X-Frame-Options "SAMEORIGIN" env=!NO_X_FRAME_OPTIONS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant