• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

HTTPDOS vs HTTPSDOCS

Frank.P

Regular Pleskian
How can I use SSL into httpdocs, because I want that all files can be show using hhtp:// or https:// and I don't want copy the same files into httpsdocs directory.



How can I do?
 
https is secured connection. Could you please clarify what is the necessity for https if you want to use not secured http for whole site? If your site will work with non-secured http access - what is the reason for https usage in this case?
 
Because some user want use https and other not.

For the same domain? What is the reason to secure domain with https connection if it will be accessible via non-secured http connection too?
 
For example :

If user are conect by private computer go to http and if was conected to public computer use a https
 
Nothing to prevent this. The user can choose segure website or not.

The question it is simple .... how can I show the same file using http or https without clone files.
 
You can see in IIS settings that there are two ports 80 and 443 for the same document directory. Therefore you can see the same content of this directory when you open site via http or via https.
 
Back
Top