Re: [users@httpd] mod_authz_core and http response 451

2017-09-06 Thread Luca Toscano
Hi Galen, 2017-09-05 22:02 GMT+02:00 Galen Johnson : > Hello, > > I've googled a bit and I can't find a way to handle this without using a > rewrite rule. > > I'm setting up a rule using mod_geoip to block embargoed countries. I set > up the config as follows: > > > # Blocking a clien

[users@httpd] mod_authz_core and http response 451

2017-09-05 Thread Galen Johnson
Hello, I've googled a bit and I can't find a way to handle this without using a rewrite rule. I'm setting up a rule using mod_geoip to block embargoed countries. I set up the config as follows: # Blocking a client based on country SetEnvIf GEOIP_COUNTRY_CODE CU BlockCountry