• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Apache server status page showing server IP's only

Chris1

Regular Pleskian
Hello,

I know this isn't directly related to Plesk but hopefully someone can help me.

I've got a few Plesk servers and in the past activating the server status page on CentOS6 was easy, I just added the following to the /etc/httpd/conf/httpd.conf file:

Code:
ExtendedStatus On
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from <my_ip>
</Location>

When I do this on a CentOS7 server, the server status page comes up but it seems to be giving different information. The heading is "Apache Server Status for hostname (via 111.111.111.11)" and all the domains in the vhost column have the port 7080 attached to them and in the client column, all the IP's are that of the server (111.111.111.111). Is this showing the nginx stuff instead of Apache?

The server-status page on my CentOS6 server has the title "Apache Server Status for 222.222.222.222", it doesn't have that "via 222.222.222.222" part, it shows the real IP of the visitor and it doesn't have this port of 7080 attached to the vhost.

Why are these different, how can I get the server status output on the CentOS 7 server similar to that of the CentOS 6 server?
 
I reproduce this problem on CentOS 7 - it seems the problem in Apache 2.4 mod_remoteip doesn't affect mod_status
 
Hi @vlikhtanskiy here is the output of that command
Code:
[root@server ~]# apachectl -M | grep remoteip
[Wed Oct 21 09:53:51.972555 2015] [so:warn] [pid 543132] AH01574: module actions_module is already loaded, skipping
[Wed Oct 21 09:53:52.076720 2015] [so:warn] [pid 543132] AH01574: module headers_module is already loaded, skipping
[Wed Oct 21 09:53:52.096697 2015] [so:warn] [pid 543132] AH01574: module logio_module is already loaded, skipping
[Wed Oct 21 09:53:52.147407 2015] [so:warn] [pid 543132] AH01574: module suexec_module is already loaded, skipping
[Wed Oct 21 09:53:52.767398 2015] [so:warn] [pid 543132:tid 140076835534912] AH01574: module fcgid_module is already loaded, skipping
remoteip_module (shared)

Hi @mizar , thanks for looking into that, at least I know it's not just isolated to my server. Would you happen to know of any workarounds?
 
Back
Top