ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

can i block IPs for seeing my site?

August 27, 2007 8:42am

Subscribe [1]
  • #1 / Aug 27, 2007 8:42am

    Riverboy

    2993 posts

    I was surfing my google analytics and there came one odd IP that is from Japan. dont know what it is and i would like to block it, is this possible?

  • #2 / Aug 27, 2007 8:44am

    Riverboy

    2993 posts

    ah, i found it from user banning!

  • #3 / Aug 27, 2007 10:01am

    Robin Sowell

    13255 posts

    Good searching- I’d probably do it via the blacklist- which I have written to my htaccess file.

  • #4 / Aug 27, 2007 11:48am

    Riverboy

    2993 posts

    is that some kind of a “double-check” to write that in htaccess? Or does EE write it when you are uploading the list from EE?

    Also, im still interested of how to do this to htaccess, thanks!
    - Tuittu

  • #5 / Aug 27, 2007 12:03pm

    Robin Sowell

    13255 posts

    Basically, when you save the blacklist it will give you the option to write the blacklist to your htaccess file.  That assumes you have created an htaccess file and it has proper permissions (generally 666).  If those conditions are met?  Then EE will write the blacklist to your htaccess file, which is nice because it will block based on those conditions at the server level, before those referrers ever hit EE itself.

  • #6 / Aug 27, 2007 8:35pm

    Sue Crocker

    26054 posts

    Also a cool thing is that if you manually add a duplicate, EE will only write the unique values to .htaccess.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases