Air

msg:671493 | 4:12 am on Aug 28, 2000 (gmt 0) |
Brett, HERE [engelschall.com] is the relevant documentation on how to do it - I tried it and could not get it to work on my server.
|
Air

msg:671494 | 4:22 am on Aug 28, 2000 (gmt 0) |
oops sorry, had a mind melt, was thinking something more complicated ... you can do it by just adding to .htaccess deny from xxx.xxx.xxx.xxx where xxx.xxx.xxx.xxx = the ip address to deny
|
littleman

msg:671495 | 4:28 am on Aug 28, 2000 (gmt 0) |
RewriteEngine on RewriteCond %{REMOTE_HOST} host.com RewriteRule !^http://[^/.]\*.* - [F] RewriteEngine on RewriteCond %{REMOTE_ADDR} ^111.222.333.444 RewriteRule !^http://[^/.]\*.* - [F] You could just drop these in - they will work on any domain without modification.
|
littleman

msg:671496 | 4:45 am on Aug 28, 2000 (gmt 0) |
Air, I like that. Short and simple. Sometimes it is the simple ways of doing things that are the hardest to learn.
|
Brett_Tabke

msg:671497 | 5:30 am on Aug 28, 2000 (gmt 0) |
Thanks to both of you. I was thinking along Little's approach because I didn't remember Air's trick. I knew there was a deny/accept in there somewhere. I can't use mod rewrite over on sew, or here for that matter - not compiled in.
|
|