The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

No pre/post virtualhost includes

Discussion in 'EasyApache' started by ivan.g, Feb 10, 2017.

  1. ivan.g

    ivan.g Member

    Joined:
    Mar 5, 2008
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    53
    I am struggling to debug a problem with mod_remoteip not being logging clients IP addresses.

    I believe the problem is the absence of Pre/Post virtual host includes in the main conf/httpd.conf file.

    cPanel documentation refers to using include files editor Include Editor - Documentation - cPanel Documentation
    and this was working before (using cPanel 62.x)

    I have added the required statement "Include /path/to/mod_remoteip.conf" in the post-virtualhost include box for All versions, however when reviewing the main conf/httpd.conf file - none of virtual hosts in the server have this line.

    The virtual host directives also missing the path to the post-virtualhost include file itself. So I am wondering if this is something wrong with my configuration or if cPanel somehow magically ensures the includes in a different way.

    Not to mention no client IP address is being logged in access logs for server websites (/home/user/access_logs/{logs})
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page