Skip to content

Instantly share code, notes, and snippets.

@julianxhokaxhiu
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianxhokaxhiu/b41837e4ad0970c6b141 to your computer and use it in GitHub Desktop.
Save julianxhokaxhiu/b41837e4ad0970c6b141 to your computer and use it in GitHub Desktop.
Allow google and developers IP access without pw
# Allow google and developers IP access without pw
AuthName "Authorized Users Only."
AuthType Basic
AuthUserFile /etc/httpd/conf/.htpasswd
require user testusr
Order deny,allow
Deny from all
Allow from 66.249.93.214 # PageSpeed Insights
Allow from 66.249.93.217 # PageSpeed Insights
Allow from 66.249.93.220 # PageSpeed Insights
Allow from w3.org
Allow from htmlhelp.com
Allow from googlebot.com
Allow from google.com
Allow from google-analytics.com
Satisfy Any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment