This lists the IP address blocks of most countries
http://www.nirsoft.net/countryip/us.html
you can list either to accept or deny
if you enter only 40. Then all 40. addresses denied..
(I'm looking for a better solution as well. - the list below were from a
period of bad activity and do include possible US ranges)
<Directory /abc/>
Order Allow,Deny
deny from 207.46.13.
deny from 157.55.39.
deny from 46.118.159.
deny from 40.77.167.
deny from 191.232.136.
Allow From All
</Directory>
Jim Franz
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Mike
Cunningham
Sent: Monday, May 09, 2016 10:32 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Apache web site blocking by location
Is it possible to block access to an iSeries hosted web site running under
Apache from being accessed by anyone outside the United States? We run a
site that should only be accessed by employees and we have no employees who
would ever need to access the site from outside the US.
Mike Cunningham
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.