Northern Flame Posted October 21, 2007 Share Posted October 21, 2007 I want to create an .htaccess file that blocks ALL ip's except for a selected few. Is there a way to do this? And also, I only want this to affect ONE file, is there a way to tell the .htaccess file only to block all the IP's except a certain few from a certain file? Thanks for any suggestions Quote Link to comment https://forums.phpfreaks.com/topic/74156-blocking-ips-via-htaccess/ Share on other sites More sharing options...
Wes1890 Posted October 21, 2007 Share Posted October 21, 2007 1. Use Google http://www.google.com/search?source=ig&hl=en&rlz=&q=block+ip+with+.htaccess&btnG=Google+Search 2. This is NOT a php question... damn Quote Link to comment https://forums.phpfreaks.com/topic/74156-blocking-ips-via-htaccess/#findComment-374508 Share on other sites More sharing options...
igor berger Posted October 21, 2007 Share Posted October 21, 2007 Check for apache manual documentation for url rewrite...it should point you to .htacces other commands. Quote Link to comment https://forums.phpfreaks.com/topic/74156-blocking-ips-via-htaccess/#findComment-374512 Share on other sites More sharing options...
Northern Flame Posted October 21, 2007 Author Share Posted October 21, 2007 Thanks igor berger I will look Quote Link to comment https://forums.phpfreaks.com/topic/74156-blocking-ips-via-htaccess/#findComment-374514 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.