i will testing itthanks
i will testing itthanks
How nginx can be uninstall and switch back to apache in case of any issue??
./nginxinstaller uninstall
This will remove it completely and set you back to Apache only.
The Main >> Server Status >> Apache Status is not working after install.
Is there is any way so we can view apache status in root whm?
Edit /usr/local/apache/conf/httpd.conf
FIND:
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ADD YOUR SERVER MAIN IP ADDRESS:
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from YOUR-MAIN-IP-ADDRESS-HERE
</Location>
Below the change I made,
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from xx.xx.xx.xx (My main ip)
</Location>
The status is showing via command 'service httpd status' but not showing via whm >> Server Status >> Apache Status
The whm is displaying error below,
Failed to receive status information from Apache.
yes I have restart apache many times after edit.
Last edited by 9xlinux; 02-23-2010 at 11:28 AM.
Just for clarification, you've put the ip format, like this example, right?:
Allow from 192.168.2.169
Also, did you make all the changes described in this post:
http://forums.cpanel.net/f5/nginx-au...tml#post629597
Yes, I have use same format as below example below,
Allow from 192.168.2.169
all the changes described in this post:
http://forums.cpanel.net/f5/nginx-au...tml#post629597 are already done by default by installer.( I have verified)
But apache status is still not showing in whm.
well, without seeing inside the server, at this point is impossible to know what's the problem is. For sure, there is something that is not correct, but without inside analisys, i cannot guess nothing more.
Try to review all the parameters. By the way, what is the error that the apache status give you?
If you put
Allow from All does it work ok?