June
23
How to restore Real IPs in Engintron
To fix the mod_remoteip after software update:
cp -pv /etc/apache2/conf.modules.d/*remoteip.conf.rpmsave /etc/apache2/conf.modules.d/mod_remoteip.conf
To restore the logs if the issue with the logs:
1.
cp -a /var/cpanel/templates/apache2_4/ea4_main.default /var/cpanel/templates/apache2_4/ea4_main.local
2.
replace all %h
by %{X-Real-IP}i
in /var/cpanel/templates/apache2_4/ea4_main.local
3.
/scripts/rebuildhttpdconf
4.
/engintron.sh purgecache