chagle Posted May 15, 2008 Share Posted May 15, 2008 Hello all, I have just got an SSL with my Hosting Co. They have installed it so I know it's installed correctly But I have been told that files have to go into /private_html, whilst none https:// files go into /public_html Does this mean I would have to move all my WHMCS files/folders etc. over to the /private_html? I then have to go into WHMCS/Admin panel/general settings and add the URL to 'WHMCS SSL System URL'? Bit confused how it works as this is my first experience with SSL. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted May 15, 2008 Share Posted May 15, 2008 I never heard of that, you just have to add the https url in whmcs acp. 0 Quote Link to comment Share on other sites More sharing options...
chagle Posted May 15, 2008 Author Share Posted May 15, 2008 I never heard of that, you just have to add the https url in whmcs acp. I have tried this but doesn't seem to work.. But what you're saying is that, I shouldn't need to put anything into /private_html & leave in /public_html ? The main site isn't SSL secure, but all I want is when the user goes to the client area etc in WHMCS, they then have an SSL connection. So you're just saying by inputting the https url in WHMCS ACP should do the trick? 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted May 15, 2008 Share Posted May 15, 2008 Depends on your hosting setup, I've also not heard of a separate private_html for use with secure connections but it's easy to achieve. Try simply copying your WHMCS install over to the private_html, leaving it in public_html as well. 0 Quote Link to comment Share on other sites More sharing options...
chagle Posted May 15, 2008 Author Share Posted May 15, 2008 The Control panel is DirectAdmin; Whether this works differently as a setup compared to CP I'm not sure? I shall try copying WHMCS public_html > private_html. Trouble is, if I make changes then it'll mean I'll have to do 2 updates for each directory. I assume, usually you would simply put the https URL within WHMCS ACP and then job done? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 15, 2008 Share Posted May 15, 2008 Plesk used to do something similar (and might still), where you had 2 directories, one for "normal" html (httpdocs) and the other for SSL (httpsdocs). 0 Quote Link to comment Share on other sites More sharing options...
BenHarris Posted May 15, 2008 Share Posted May 15, 2008 To solve this, you could just make a symlink from the private directory to the public directory? 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted May 15, 2008 Share Posted May 15, 2008 Plesk used to do something similar (and might still), where you had 2 directories, one for "normal" html (httpdocs) and the other for SSL (httpsdocs). Indeed, they still do. However there is an option from within the control panel that allows you to keep SSL content in the httpdocs folder too. Is there something similar in DA? 0 Quote Link to comment Share on other sites More sharing options...
chagle Posted May 15, 2008 Author Share Posted May 15, 2008 Hi there. I found this in DA Control Panel (See attachment). I assume it's this that will fix my issue? It does go onto to say when selected (not been brave enough yet) "using symbolic link will delete the private_html directory and all files in it - Do you wish to continue?" .. But I guess this looks promising. 0 Quote Link to comment Share on other sites More sharing options...
lostinspace Posted May 15, 2008 Share Posted May 15, 2008 Yep that will do it and should nullify the need to place separate files in the secure directory. 0 Quote Link to comment Share on other sites More sharing options...
chagle Posted May 15, 2008 Author Share Posted May 15, 2008 All done! Much better actually because I can then secure any webpage without having to muck about with having certain pages in the /private_html directory. (Took the option as seen in the above screenshot from earlier post) 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.