Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

No pre/post virtualhost includes

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

  1. ivan.g

    ivan.g Member

    Mar 5, 2008
    Likes Received:
    Trophy Points:
    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 Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice