By Anonymous (not verified) on
I want to do some online testing, and run some browsershots. I'd like to write a rule in .htaccess that only a couple of ip's are let through and that all others are sent to a maintenance page.
I understand the allow/ deny part, but I can't find a way to redirect the visitors that have a deny to a maintenance page.
Comments
Solved. The code I looked up
Solved. The code I looked up was wrong. This one does work:
Replace the 888's with your IP address of course.
Source:
http://www.techiecorner.com/97/redirect-to-maintenance-page-during-upgra...