# BLOCCA ACCESSO IP
Order allow,deny
Deny from 20.171.207.117                             #2025.07.17-18.24.00
Deny from 20.171.207.48                              #2025.07.17-18.24.00
Deny from 20.171.207.74                              #2025.07.17-21.48.40
Deny from 20.171.207.128                             #2025.07.20-21.07.32
Deny from 185.177.72.113                             #2025.08.04-14.59.20
Deny from 144.76.19.3                                #2025.08.07-09.45.00
Deny from 20.18.77.54                                #2025.08.08-20.23.32
Deny from 3.84.5.15                                  #2025.08.12-16.01.25
Allow from all

# ERRORI PAGINE
ErrorDocument 403 http://www.generalmatic.com/
ErrorDocument 404 http://www.generalmatic.com/

# CREDO SIA DI REGISTER

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.generalmatic.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.generalmatic.com$ [NC]
RewriteCond %{HTTP:X-Forwarded-Proto} !^https$
RewriteRule ^(.*) https://www.generalmatic.com/$1 [R=301,L]