Welcome to WebmasterWorld Guest from 220.127.116.11
SetEnvIf Remote_Addr ^11\.xxx\.33\.44$ ban
SetEnvIf Remote_Addr ^55\.xxx\.77\.88$ ban
<Files ~ "^.*$">
allow from all
deny from 127.x.0.199
deny from 192.xxx.0.19
deny from env=ban
the above code i place in the htaccess file in my public_html folder...
but the banned ipís are only banned in the public_html folder not in any sub folder
or in the cgi-bin also located inside the public_html folder ..
How come? is the dedicated server not configired corectly ..
that the apache config.file is not allwoing to overwrite ban rules in sub folders? or is this line wrong: <Files ~ "^.*$">
please advise i need help
i have two dif servers and on one it works fine and ont he other it bans only in one folder
[edited by: jdMorgan at 12:33 am (utc) on Oct. 24, 2003]
[edit reason] Generalized specific IP addresses [/edit]
i am plannign on chnaging from virtual server to dedicated server.. but i will have to configure the apache config.file myself ..never done that before never seen the file before...
can you give me few links that teach me this?