Menu

Getting IP address of user?

Help
Jack Boyce
2005-11-19
2012-10-11
  • Jack Boyce

    Jack Boyce - 2005-11-19

    I am running 1.3.9 on MySql and have several thousand pages in a public wiki. Lately a spammer has started vandalizing many of our pages, and I'd like to block them in .htaccess.

    How do I get the IP address of a user that logs in? The IP is logged and displayed for an anonymous edit; our problem is that the spammer is actually logging in.

     
    • Reini Urban

      Reini Urban - 2005-11-20

      sorry, then /var/log/httpd/access.log only

       
      • Reini Urban

        Reini Urban - 2005-11-24

        Yes, we really should store the IP also on every page edit. But we don't do yet.

        You have to search in the /var/log/httpd/access.log or the wiki accesslog.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.