https://support.cloudflare.com/hc/en-us/articles/200168236-What-does-Cloudflare-IP-Geolocation-do-
RewriteEngine on
RewriteCond %{HTTP:CF-IPCountry} ^(AT|BE|BG|CY|CZ|DK|EE|FI|FR|DE|GR|HU|HR|IE|IT|LV|LT|LU|MT|NL|PL|PT|RO|SK|SI|ES|SE|GB)$
RewriteCond %{REQUEST_URI} !^/blockedGDPR/
RewriteRule ^ - [F,L]
ErrorDocument 403 /blockedGDPR/
<html>
<title>
GDPR Block
</title>
<body>
We are unable to bear GDPR compliance cost at the moment.
</body>
<style>
body {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #2c3e50;
margin-top: 20px;
}
</style>
</html>