DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

Wrong client IP detected after upgrade Apache to 2.4.33

| 13:58:14 26.03.2018

*** As of April, 9 it should be fixed in CustomBuild script of Directadmin in 1850 revision ***

What happens?

For those who uses Nginx+Apache, here is a quick fix of another possible bug. The bug introduced since Apache 2.4.33. Apache fails to read IPs from the file, as per instruction:

RemoteIPInternalProxyList /usr/local/directadmin/data/admin/ip.list

How to fix it?

Install a script to fix it:

cd ~
wget -O nginx-apache-fix-ips.sh https://raw.githubusercontent.com/poralix/directadmin-utils/master/apache/nginx-apache-fix-ips.sh
chmod 755 nginx-apache-fix-ips.sh
./nginx-apache-fix-ips.sh

that's a temporary fix, and I hope directadmin developers will apply a permanent fix. All the changes will be lost after you run:

./build rewrite_confs

If it happens unwanted, run the script again:

cd ~
./nginx-apache-fix-ips.sh
About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable expirience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition