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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > cPanel SSL Proxy Subdomain - 500 Error

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2013, 04:18 PM
tina tina is offline
Member
 
Join Date: Feb 2010
Posts: 43
Default cPanel SSL Proxy Subdomain - 500 Error

Hello,

Please try the following recipe on your CentOS (no CloudLinux!) cPanel test server:

1. Login to WHM

2. Go to 'Tweak Settings' and make sure the following are enabled:

- Proxy subdomains
- Proxy subdomain creation

3. Go to 'LiteSpeed Web Server' and switch to 'Apache'

4. Create a cPanel account on the *shared IP* with a real domain that resolves to the server. We will call it test-domain.com in this example.

5. Go to 'Generate an SSL Certificate and Signing Request', and create a new certificate

6. Go to 'Install an SSL Certificate and Setup the Domain', and paste the new certificate, and also the new key. Change the user to 'nobody', then click 'Submit'

7. Visit https://cpanel.test-domain.com/ (use the actual domain, take note of the 'https' and the 'cpanel.', and also do not enter any port number).

8. A certificate message should appear, allow it, and you will be able to log into cPanel.

9. Now log into WHM again and go to 'LiteSpeed Web Server' and switch to 'LiteSpeed'

10. Once again, visit https://cpanel.test-domain.com/ (use the actual domain, take note of the 'https' and the 'cpanel.', and also do not enter any port number).

11. You will now see a 500 error message instead!

Please advise - is this a LiteSpeed setting issue, or something that you can fix ASAP for the next version?
Reply With Quote
  #2  
Old 03-04-2013, 05:40 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
in my lab testing, i am getting 500 error in Apache with the following message in step 8 after certificate message appear.

Quote:
SoftException in Application.cpp:427: Mismatch between target UID (501) and UID (99) of file "/home/..."

Last edited by webizen; 03-04-2013 at 05:43 PM..
Reply With Quote
  #3  
Old 03-04-2013, 06:06 PM
tina tina is offline
Member
 
Join Date: Feb 2010
Posts: 43
Quote:
Originally Posted by webizen View Post
in my lab testing, i am getting 500 error in Apache with the following message in step 8 after certificate message appear.
From the error message it looks like the cPanel proxy subdomain is not working, because Apache is trying to load the website instead (that's why the '/home/user' path is involved).

Try and see if you can get the cPanel proxy subdomain to work correctly, which might resolve the error with Apache.
Reply With Quote
  #4  
Old 03-04-2013, 07:03 PM
tina tina is offline
Member
 
Join Date: Feb 2010
Posts: 43
Okay, we just tried the same steps with another cPanel CentOS machine, and Apache is loading the domain's website (instead of loading cPanel), but there are no errors.

We have no idea why the SSL proxy on the shared IP is working on one machine (with Apache), but not another.

So it seems there may be some missing steps, and we will need to spend some more time to find out all the steps for making Apache load cPanel on the shared IP.
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:38 PM.



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