logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_security is there a way to ban certains ips?
Author
mewbie



Joined: 23 May 2009
Posts: 25

PostPosted: Fri 12 Jun '09 5:58    Post subject: mod_security is there a way to ban certains ips? Reply with quote

Where would I add ip's that I would like to ban from being able to access my site?

Thank you Very Happy
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 12 Jun '09 9:31    Post subject: Reply with quote

no need for mod_security for that ...

Order Allow,Deny
Allow from all
deny from xxx.xxx.xxx.xxx
deny from xxx.xxx.xxx.xxx
deny from xxx.xxx.xxx.xxx
deny from xxx.xxx.xxx.xxx

that will 403 them .. use a Rewrite if you want to send them off to somewhere else.
Back to top
mewbie



Joined: 23 May 2009
Posts: 25

PostPosted: Sat 13 Jun '09 7:51    Post subject: Reply with quote

Great, thats easy Very Happy Thank you glsmith!
Back to top


Reply to topic   Topic: mod_security is there a way to ban certains ips? View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules