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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.