Results 1 to 2 of 2
can you block IP addresses with apache or do you have to use some other program.
If you could please answer for windows (2k XP) and linux....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-17-2003 #1Linux User
- Join Date
- Apr 2003
- Location
- TEXAS
- Posts
- 314
blocking IP addresses with apache
can you block IP addresses with apache or do you have to use some other program.
If you could please answer for windows (2k XP) and linux.The computer made me do it!! Slackware
and SUSE too Gig\'em WHOOOOP!!
\"God put me on this earth to accomplish a certain amount of tasks, At the rate I\'m going I will never die.\" (I don\'t know)
- 06-17-2003 #2Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
you can block ip addresses using the "deny" and "allow" directives.
For example the below 3 statements allow access only from the machine who's ip is 192.168.1.21.
order deny,allow
deny from all
allow from 192.168.1.21
or you can use
deny from "ip-address"


Reply With Quote
