I am working to transfer a server from one box to another and do a massive code update tonight. To do this I'd like to set up a redirection so that normal site visitors go to a holding page. But developers and testers and the client go to the main site.
I am thinking that an 403 redirection is the way to do it. This is the code I'm using:
Order allow,deny deny from 22.214.171.124 allow from all ErrorDocument 403 /holding/index.html <Files /holding/index.html> allow from all </Files>
Currently I am just redirectly my IP, I'll swap that around this evening.
Anyway the problem I am getting "This webpage has a redirect loop" on the holding page. Clearly the "Allow From All" directive isn't being process.
Does anyone know what I might be getting wrong?