Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. diff --git a/docroot/.htaccess b/docroot/.htaccess
  2. index c45bffd..ce44b93 100644
  3. --- a/docroot/.htaccess
  4. +++ b/docroot/.htaccess
  5. @@ -1,6 +1,18 @@
  6. #
  7. # Apache/PHP/Drupal settings:
  8. #
  9. +Header append Vary "X-Auth"
  10. +
  11. +# Shared Key sent by CDN identifies authorised requests.
  12. +SetEnvIf X-Auth e0c7f121-df2a-4dc6-8099-cc4a8d4aa36b AuthorisedUpstream=1
  13. +
  14. +# Allow traffic from Acquia (monitoring, support, TAM).
  15. +SetEnvIf X-Acquia-Request "TRUE" AuthorisedUpstream=1
  16. +
  17. +# Inverse Search to bypass lockdown checks on non-production environments.
  18. +SetEnvIf AH_SITE_ENVIRONMENT "^((?!prod).)*$" AuthorisedUpstream=1
  19. +
  20. +Require env AuthorisedUpstream
  21.  
  22. # Protect files and directories from prying eyes.
  23. <FilesMatch "\.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock))$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement