How to send user to other site via htaccess on DENY
- by iamdadude
I only want to allow one IP to access this site and want to send all the other users to google.com. How would I go about doing this? I have this at the moment -
AuthName "bla"
AuthType Basic
<LIMIT GET POST>
ORDER DENY,ALLOW
DENY FROM ALL
ALLOW FROM #IP
</LIMIT>