Author Topic: Stats shows visitors from my own ip  (Read 6400 times)

0 Members and 1 Guest are viewing this topic.

Stats shows visitors from my own ip
« on: March 26, 2019, 05:47:45 PM »

I'm trying to find out what's happening for days now, but no luck.
I'm really a noob, just started with my own server about 2 months ago. The situation is I see 30-60 users all the time on one of my sites (wordpress) and statcounter shows half of them coming from my servers own ip (!) the other half is from various "google" ips.
When I restart the server the problem disappears for 8-10 hours, than it comes back.

I ceaned wordpress, scanned with multiple tools, removed all unnecessary plugins, checked the plugin files manually... nothing. Also used all scanning tools in cwp (pro) and nothing found. I really don't know what else I can do.

Some info on my setup:
Application Version:
    Apache version: Apache/2.4.34
    PHP version: 7.2.16 [PHP Switcher]
    MySQL version: 10.1.38-MariaDB
    FTP version: 1.0.47

System Info:
    CPU Model: Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
    CPU Details: 8 Core (3600 MHz)
    Distro Name: CentOS Linux release 7.6.1810 (Core)
    Kernel Version: 3.10.0-957.10.1.el7.x86_64
    Platform: x86_64 [Dedicated]

CWP info:
    CWPpro version:

Anyone have any idea?

« Last Edit: March 26, 2019, 05:54:02 PM by moln4r »

Re: Stats shows visitors from my own ip
« Reply #1 on: March 27, 2019, 08:45:41 PM »
you need to check mod_rpaf configuration in apache conf.d folder
VPS & Dedicated server provider with included FREE Managed support for CWP.

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Re: Stats shows visitors from my own ip
« Reply #2 on: March 28, 2019, 05:24:59 PM »
Hi, thanks for the suggestion!

I can't find any configuration named " mod_rpaf"

in: / usr / local / apache / conf.d /
I have two folders:

and files named:

I checked them all, but doesn't saw any suspicious.

Re: Stats shows visitors from my own ip
« Reply #3 on: April 03, 2019, 01:54:49 AM »
So, you can create the file /usr/local/apache/conf.d/rpaf.conf (change [YOUR-IP-ADDRESS] with the correct information) with the following content:
Code: [Select]
<IfModule !mod_rpaf.c>
LoadModule rpaf_module modules/
RPAF_Enable On
RPAF_SetHostName On
RPAF_SetPort On
RPAF_ForbidIfNotProxy Off
RPAF_Header X-Forwarded-For