I'm using mod_geoip for filtr some traffic. So now I have e.g. this
SetEnvIf GEOIP_COUNTRY_CODE FR AllowCountry
<Locationmatch "/secure-by-country">
Deny from all
Allow from env=AllowCountry
</..
But now I need add http auth. for blocked countries. So:
if IP is not from env=AllowCountry show http auth and if client send valid credentian allow access.
It is possible? How I can mix Locationmatch & Mod_geoip with some type of IF?
Thanks a lot