Aaron Scherer's Blog

Aaron Scherer's Blog

Trials and Tribulations of Aaron Scherer


Apache2, programming

IP Based Htaccess Restriction

Posted on .

A couple months ago, I was looking for a way to restrict a development site in such a way, that while people were at work (where we have a static IP), and then require an .htpasswd file for everyone outside. Well, it was actually kind of simple. After youve go…