Results 1 to 4 of 4

Thread: more htaccess stuff

  1. #1
    Roll Tide! mobilebadboy's Avatar
    Join Date
    Apr 2004
    Location
    Mobile, AL
    Posts
    428

    more htaccess stuff

    Ok, I'm getting rather annoyed with this. If I add the following to my htaccess:

    Deny from .comcast.net

    I cannot access any part of my site. If I do this for most other hosts, it does not block them. I'm getting a new spammer on my blog (lord knows I never should have coded in comments in my recent rebuild).

    I add:

    Deny from .wnet.ua

    Still gets through.

    Why will it block me, but not them?
    Shawn Kerr .com

  2. #2
    Registered
    Join Date
    Aug 2006
    Location
    Sacramento, CA
    Posts
    208
    Are you sure that its the same spammer accessing from the same host? Could be a different person or the same person using a proxy or different internet connection.
    ________
    Lincoln l-head v12 engine specifications
    Last edited by rpanella; 03-17-2011 at 10:39 AM.

  3. #3
    Roll Tide! mobilebadboy's Avatar
    Join Date
    Apr 2004
    Location
    Mobile, AL
    Posts
    428
    No, it's the same one. I log the IP with each comment, and the same host manages to appear in my site stats with every spam comment. The site gets relatively little traffic so it's easy to compare.

    It's not just that one though. I block hosts all the time, or IPs, and they still manage to constantly make it to the site. But again if I block my IP or comcast.net, I'm blocked.
    Shawn Kerr .com

  4. #4
    Registered
    Join Date
    Aug 2006
    Location
    Sacramento, CA
    Posts
    208
    From http://httpd.apache.org/docs/1.3/mod/mod_access.html:

    A (partial) domain-name
    Example: Allow from apache.org
    Hosts whose names match, or end in, this string are allowed access. Only complete components are matched, so the above example will match foo.apache.org but it will not match fooapache.org. This configuration will cause the server to perform a double reverse DNS lookup on the client IP address, regardless of the setting of the HostnameLookups directive. It will do a reverse DNS lookup on the IP address to find the associated hostname, and then do a forward lookup on the hostname to assure that it matches the original IP address. Only if the forward and reverse DNS are consistent and the hostname matches will access be allowed.
    ________
    Milf vid
    Last edited by rpanella; 03-17-2011 at 10:39 AM.

Similar Threads

  1. Finding someone to write legal stuff such as privacy policy, tos, guidelines.
    By s2kinteg916 in forum General Management Issues
    Replies: 1
    Last Post: 11-01-2006, 12:43 PM
  2. You should know about the whole stuff!
    By RandyMc in forum General Chat
    Replies: 0
    Last Post: 06-04-2005, 12:29 AM
  3. Anyone need flash stuff?
    By thebillionaire in forum General Promotion
    Replies: 8
    Last Post: 10-28-2004, 01:56 PM
  4. htaccess Look ok?
    By Emancipator in forum Website Programming & Databases
    Replies: 2
    Last Post: 08-16-2004, 05:47 AM
  5. htaccess on non-Apache servers
    By mobilebadboy in forum Website Programming & Databases
    Replies: 2
    Last Post: 06-02-2004, 11:05 AM

Bookmarks

Posting Permissions

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