Forum Moderators: phranque

Message Too Old, No Replies

banning IPs on Cobalt Raq4

got to find a way..

         

tito

2:35 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



hello,
i'm running my own CobaltRaq4 (Unix/Apache) and i'd like to ban some lamers IPs, they are litteraly scanning all sites that are on my server, looking for a possible hole, it seems that htaccess is not enough, i have to ban 'em directly from the server, please can somebody suggest me how to do this?

thanks in advance
tito

jdMorgan

8:06 pm on Jan 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tito,

Block them at the firewall - that's the simplest answer.

I'm not sure what you mean by ".htaccess is not enough." You might want to expand your description of the problem, so that members here can understand it better and possibly offer some useful advice.

Any .htaccess code you have in the virtual server accounts should work fine in httpd.conf with minor modification, if you want to cover all servers at once. The main difference is that pathnames in RewriteRule patterns used in httpd.conf start with "/", and you don't (necessarily) use a leading slash in .htaccess.

Jim

tito

10:21 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



Jim,

i ain't got a firewall.
by saying that .htaccess is not enough i wanted to say that is not enough to cover all v-sites at the same time, so your suggestion to configure the httpd.conf is definetely the solution to this issue.
as i'm new to this, could you please point me to some example/suggestion where to learn how to configure the httpd.conf?!?
i will appreciate it, i'm under a cross fire at this moment and i have no clue how to manage this httpd.conf, i do run Apache/1.3.20.

thanks in advance for your kind help
tito

tito

11:15 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



i'm also looking to another way to block IPs on whole Raq4 without touching httpd.config., i'm digging the cobalt manual at this moment, as soon as i'll succeed i will post the 'how to' here to share with others...