I've done some basic HTTPS sites on my shared hosting, but in my hosting provider the folders in filesystem are different for SSL and the regular website. Is this an option, or is it required for the two to be separate? That is, https://www.example.com loads a different folder on the virtual host as opposed to http://www.example.com
If the file folders are different, then what should I do about session storage if it is a custom session storage that is stored in my websites filesystem that is different between HTTP and HTTPS sites? And what about other files, such as users custom-uploaded files, do I have to sync them somewhat?
If I set up my own server, then is it possible for me to run HTTPS and HTTP from the same folder?