[RESOLVED] access to /cpanel not working

#1
Hi

I'm having some issues with litespeed and cPanel 11.25

Before install litespeed customers can access whm, cpanel and webmail like example.com/cpanel example.com/whm example.com/webmail

After litespeed installation, this way is not longer working and customers are getting 403 error but they can login like cpanel.example.com, etc

Is this a bug? or am I doing something wrong?

I'm using cpanel 11.25 with ls 4.0.12

Thank You
 
#3
When i visit the main site, I'm getting

2010-02-09 10:24:08.387 [INFO] Start listen socket [/tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.926].
2010-02-09 10:24:08.409 [INFO] [APVH_dorota_Suphp:] pid list size: 1
2010-02-09 10:24:08.409 [INFO] [APVH_dorota_Suphp:] add child process pid: 1605
2010-02-09 10:24:09.564 [INFO] Start listen socket [/tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.785].
2010-02-09 10:24:09.586 [INFO] [APVH_dorota_Suphp:] pid list size: 2
2010-02-09 10:24:09.586 [INFO] [APVH_dorota_Suphp:] add child process pid: 1629
2010-02-09 10:24:09.586 [INFO] Start listen socket [/tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.609].
2010-02-09 10:24:09.654 [INFO] [APVH_dorota_Suphp:] pid list size: 3
2010-02-09 10:24:09.654 [INFO] [APVH_dorota_Suphp:] add child process pid: 1633
2010-02-09 10:24:09.655 [INFO] Start listen socket [/tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.319].
2010-02-09 10:24:09.678 [INFO] [APVH_dorota_Suphp:] pid list size: 4
2010-02-09 10:24:09.678 [INFO] [APVH_dorota_Suphp:] add child process pid: 1635
2010-02-09 10:24:19.591 [INFO] Pid: 1605 associated with [APVH_dorota_Suphp:]
2010-02-09 10:24:19.591 [INFO] ProcInfo Pid: 1605, socket: /tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.926
2010-02-09 10:24:19.591 [INFO] [APVH_dorota_Suphp:] pid list size: 3, pid stop list size: 0
2010-02-09 10:24:19.665 [INFO] Pid: 1629 associated with [APVH_dorota_Suphp:]
2010-02-09 10:24:19.665 [INFO] ProcInfo Pid: 1629, socket: /tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.785
2010-02-09 10:24:19.665 [INFO] [APVH_dorota_Suphp:] pid list size: 2, pid stop list size: 0
2010-02-09 10:24:19.728 [INFO] Pid: 1633 associated with [APVH_dorota_Suphp:]
2010-02-09 10:24:19.728 [INFO] ProcInfo Pid: 1633, socket: /tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.609
2010-02-09 10:24:19.728 [INFO] [APVH_dorota_Suphp:] pid list size: 1, pid stop list size: 0
2010-02-09 10:24:20.048 [INFO] Pid: 1635 associated with [APVH_dorota_Suphp:]
2010-02-09 10:24:20.048 [INFO] ProcInfo Pid: 1635, socket: /tmp/lshttpd/APVH_dorotaklinowska.com_Suphp.sock.319
2010-02-09 10:24:20.048 [INFO] [APVH_dorota_Suphp:] pid list size: 0, pid stop list size: 0
2010-02-09 10:24:21.084 [NOTICE] [APVH_dorota_Suphp:] stop worker processes

and only this wen I try to login to cpanel:

2010-02-09 10:26:49.257 [INFO] [99.31.118.120:55674-0#APVH_dorotaklinowska.com] File not found [/home/dorota/public_html/403.shtml]

suphp is activate and htscanner (from previous fastcgi setup)

Any idea about what is wrong?
 

mistwang

LiteSpeed Staff
#4
In our cpanel setup, those functions are configured in httpd.conf with

ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
please check permission of /usr/local/cpanel/cgi-sys directory and files in it. all user should be able to access those files.
 
#5
Thanks for your help

I fixed it rebuilding apache and switching back to Litespeed, maybe something was wrong with my previous setup
 
Top