chigley Posted October 22, 2007 Share Posted October 22, 2007 Hey guys, I hope you can help on this one. I want to block all users (except myself) from accessing all files in the public_html directory. I want anyone who isn't me to be shown a custom error (I assume the 403 error?) The thing is, with my current code, it blocks everyone from viewing everything - including the 403 error page! How can I specify to block everything except 403.shtml? My code is: order deny,allow deny from all allow from 82.42.33.56 allow from 85.210.169.252 <Files 403.shtml> order allow,deny allow from all </Files> Thanks a lot, Charlie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.