Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Easiest way to block ip addy's ? |
|
Author |
|
kenboyles72
Joined: 18 Oct 2006 Posts: 6
|
Posted: Sun 22 Oct '06 2:51 Post subject: Couple more questions |
|
|
How do I fix this one:
mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed
And whats the easiest way to block ip addy's. I got a couple of robots poking around. |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Sun 22 Oct '06 11:41 Post subject: |
|
|
Order Allow,Deny
Allow from All
Deny from IPHERE |
|
Back to top |
|
kenboyles72
Joined: 18 Oct 2006 Posts: 6
|
Posted: Mon 23 Oct '06 4:22 Post subject: |
|
|
Jorge wrote: | Order Allow,Deny
Allow from All
Deny from IPHERE |
yeah, that would work, but i got several ip's. Could i just use .htaccess in my folder? That way i could just edit the .htaccess file, instead of having a lot of extra stuff in my http.conf file. If i did use .htaccess, would it work if i only put:
Deny from IP.ADD.RESS
Deny from IP.ADD.RESS
Deny from IP.ADD.RESS
Deny from IP.ADD.RESS
and not
Order Allow,Deny
Allow from All
Deny from IP.ADD.RESS |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Mon 23 Oct '06 16:52 Post subject: |
|
|
sure you can use that in a access file |
|
Back to top |
|
|
|
|
|
|