Skip to main content

WHM 96 Nginx Visitor IP for ModSec and CSF

Comments

4 comments

  • andrew.n
    Have a look at this:
    0
  • thewebexpert
    That does not really talk about the server ip showing up in the mod security logs .. it just talks about the non static content not being intercepted by modsecurity, no does it talk about CSF... mod_remoteip was already installed
    0
  • cPRex Jurassic Moderator
    @thewebexpert - if that tool isn't working well for you, could you submit a ticket so we can do some more testing on your machine?
    0
  • kishan2
    First install mod_remoteip from WHM>Software>EasyApache 4 Then add the following configuration in /etc/apache2/conf.d/includes/pre_virtualhost_global.conf RemoteIPHeader X-Forwarded-For LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined RemoteIPHeader X-Forwarded-For Then restart Apache server. Hope it helps.
    0

Please sign in to leave a comment.