Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003

    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)

  2. #2
    Linux User
    Join Date
    May 2003
    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

    order deny,allow
    deny from all
    allow from

    or you can use
    deny from "ip-address"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts