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...



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
neo-host.com anyone? (Views: 585)


Language:

Client Login

Email

Password

Remember Me

Search