Knowledgebase
.htaccess help
Posted by lilrichieh, 08-23-2009, 03:50 PM | Hey All,
I have got the following code in my .htaccess file
order deny,allow
deny from all
allow from [MY IP HERE]
What i want to do is deny access to this folder to everyone except the listed ip but i want to re-direct the user to a url and not just give them the server error.
What is the code to achieve this?
Many Thanks
Richard Howell
|
Posted by foobic, 08-23-2009, 05:51 PM | In addition to what you already have:
Just make sure that the page you redirect them to isn't subject to the same protection...
|
|
Add to Favourites
Print this Article |
Also Read