LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [RESOLVED] access to /cpanel not working

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2010, 07:02 AM
DataOne DataOne is offline
Member
 
Join Date: May 2009
Location: /local/Bar
Posts: 18
Default [RESOLVED] access to /cpanel not working

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
Reply With Quote
  #2  
Old 02-09-2010, 08:19 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Please check /usr/local/apache/logs/error_log for reasons of 403 error.
4.0.12 works fine with those URL in our lab.
Reply With Quote
  #3  
Old 02-09-2010, 08:29 AM
DataOne DataOne is offline
Member
 
Join Date: May 2009
Location: /local/Bar
Posts: 18
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?
Reply With Quote
  #4  
Old 02-09-2010, 02:58 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
In our cpanel setup, those functions are configured in httpd.conf with

Quote:
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.
Reply With Quote
  #5  
Old 02-09-2010, 06:12 PM
DataOne DataOne is offline
Member
 
Join Date: May 2009
Location: /local/Bar
Posts: 18
Thanks for your help

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:22 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.