• 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

Shared directory for http and https content

J

judouk

Guest
I have migrated by domains from one website to a brand new server.
In the past, I had different directories for secure and insecure protocols - however, as of 10.0.1, I only seem to have the one.

I cannot find the option to re-enable the directory split (without manually altering the vhost-ssl.conf files).

Anyone know what the problem is?


The conf file at the moment looks like

<VirtualHost 1.2.3.4:443>
ServerName "securesite:443"
UseCanonicalName Off

<IfModule mod_suexec.c>
SuexecUserGroup "webmaster" "psacln"
</IfModule>

ServerAdmin "admin@admin"

DocumentRoot "/var/www/vhosts/securesite/httpdocs"



Ideally, I want the DocumentRoot to be
DocumentRoot "/var/www/vhosts/securesite/httpsdocs"



Thanks in advance
 
Ability to use different folders for ssl and non-ssl content is dropped. For compatibility reasons it still works after upgrade.
 
Unfortunately, when I perform a backup (from the old server) and restore (to a new server), this functionality is also dropped.
Can you confirm how I can put this back please
 
Back
Top