Jump to content

Blocking IP's via .htaccess


Northern Flame

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/74156-blocking-ips-via-htaccess/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.