Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-11 Thread syscon edm
"/path/to/my/htaccess") > > It will return a list of all the matching ip/masks from the lines that > contain "Require not ip ". > Let me know if you would like me to clarify any of the instructions. > > Alright, that's it. Good luck with managing that list. &g

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
a mystery, and don't know how to set up > Clojure, you can just send them my way, I can easily re-run this. I'm not > going to chuck the code any time soon. > > HTH, > Travis > > > On Wed, Feb 10, 2021 at 05:25:27PM -0800, Travis Rodman wrote: > > Thanks, I

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
Thank you, I sent you the .htaccess file to the email address you provided. On Wed, Feb 10, 2021 at 5:33 PM Travis Rodman wrote: > > Hi syscon edm, > > So, I guess I am confused, first by mis-associating the CIDR values, and > about this statement: > "In .htaccess file I

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
0 > > 157 | 10011101 > 55 | 00110111 > 39 | 00100111 > 252 | 1100 > > 10011101.00110111.00100111.1100 > > shows this is the matching (rejecting) IP and mask > this is the matching subnet: > 157 54 | 10011101.0011011|0.. >100

Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
I run apache-2.4.46 on linux In .htaccess file I have a long list of IP-subnets (over 500-subnets) that I ban (mostly spammers). But I've notices that my .htaccess prevent access to customers from IP that are not on the ban list. In the .htaccess the IP's are listed in numerical order, eg.: