• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

htaccess problems

E

ElricM

Guest
what the heck,

I put this in my .htaccess file at the webroot

<Limit GET>
order allow,deny
deny from .badguy.com
allow from all
</Limit>

but it bans everyone. I tried only:

order allow,deny
deny from .badguy.com
allow from all

same result. Why are all connections denied? I'm sure I have the syntax right, I only want to ban a few sources.
 
Back
Top