mikebrant Posted October 24, 2007 Share Posted October 24, 2007 I have been having problems getting https pages to work with WHMCS. Basically if I leave the field in the configuration blank (i.e. to not use SSL), then the user has no porblem navigating through the various pages in the client area. However as soon as I put in a URL in the configuration for SSL, the pages break and I get 404 errors when navigating to any page that presumably is supposed to use https instead of http. My setup is that I have WHMCS running on its own subdomain (the subdomain has its own SSL cert (though right now it is a self-signed cert if this makes any difference), and I have the URL's in the configuration as exactly the same URL for SSL and non-SSL (with the expception of using an "s" in https). The server itself uses WHM/Cpanel. Any troubleshooting thouhts would be appreciated. 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted October 25, 2007 Share Posted October 25, 2007 Do you have some sort of redirect set up for ssl? When I try your https of your whmcs it comes up with the homepage 0 Quote Link to comment Share on other sites More sharing options...
mikebrant Posted October 25, 2007 Author Share Posted October 25, 2007 There is no redirect setup. You may have been getting the redirect based on teh fact that I just had to change my license key as I moved the whole site to a new IP address yesterday (I was having the porblem mentioned in this post before moving IP's and the move was done in part to try to solve the problem (so that I could issue a wildcard SSL cert that included the subdomain). I did notice that I get different behavior in different browsers though. I IE, the address bar show the http address of the page I am trying to access with a 404 error. In Firefox it shows the https address with the 404 error. 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted October 25, 2007 Share Posted October 25, 2007 There is no redirect setup. You may have been getting the redirect based on teh fact that I just had to change my license key as I moved the whole site to a new IP address yesterday (I was having the porblem mentioned in this post before moving IP's and the move was done in part to try to solve the problem (so that I could issue a wildcard SSL cert that included the subdomain). I did notice that I get different behavior in different browsers though. I IE, the address bar show the http address of the page I am trying to access with a 404 error. In Firefox it shows the https address with the 404 error. Your https path for account.brantsolutionsgroup.com is pulling pages from your root html directory. Somehow there is a redirect or you have the path wrong. The page not found is because the files you are looking for are not in the root html folder. When trying https://account.brantsolutionsgroup.com/index.html you may get a better idea since https://account.brantsolutionsgroup.com/index.php is not there. Contact Matt via support ticket if you can't find the problem and I am sure he can sort quickly. 0 Quote Link to comment Share on other sites More sharing options...
mikebrant Posted October 26, 2007 Author Share Posted October 26, 2007 I have resolved the problem. Just needed to make a change to httpd.conf file to change for my https virtual host, which for some reason referenced my root directory as suspected. I guess Cpanel create it this way by default. Thanks for help. 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted October 26, 2007 Share Posted October 26, 2007 I have resolved the problem. Just needed to make a change to httpd.conf file to change for my https virtual host, which for some reason referenced my root directory as suspected. I guess Cpanel create it this way by default.Thanks for help. Great, glad you got it fixed. I haven't seen this issue before with cpanel, although we recently had some issues with the -dssl server not starting after adding or removing a cert. I would invest in a trusted certificate though to eliminate warnings 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.