Symptoms
- The domain’s access log in Domains > example.com > Logs > Apache access (the file is
/var/www/vhosts/example.com/logs/access_log
) contains server’s IP address instead of client’s. rpaf
Apache module is shown as enabled and theremoteip
module is shown as disabled
in Tools & Settings > Apache Web Server > Apache modules:
In the server console
- Connect to the server using SSH.
- Enable
remoteip
Apache module:# plesk sbin httpd_modules_ctl –enable remoteip - Disable
rpaf
Apache module:# plesk sbin httpd_modules_ctl –disable rpaf - Restart Apache:
- In CentOS, RHEL, CloudLinux:# service httpd restart
- In Debian and Ubuntu:# service apache2 restart