HTTP error 401 You do not have permission to access this page.

NaSRi

Member
Aug 13, 2014
15
0
1
cPanel Access Level
Root Administrator
Hi , I have a problem with a server . our client change some thing in whm security and now the server not accessable via ssh and browser .
I used to rescue and replaced cpanel.config in /var/cpanel/cpanel.config with a working server .
Also I check hosts.allow and hosts.denay there are no thing in these files .
I dont know what to do . Could you please help in this case ?
 

NaSRi

Member
Aug 13, 2014
15
0
1
cPanel Access Level
Root Administrator
The problem had fixed due to mistake in hosts.allow , I don't know when I opened it I don't see anything but when my co-worker opened it , it had dny all statement .

you should mark this post as solved .
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello :)

I'm happy to see the issue is now resolved. Note this file is also managed through the "Host Access Control" option in Web Host Manager.

Thank you.