• 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

How to have sites use shared SSL

G

goosequeen

Guest
I setup my SSL cert. on on of my sites, under plesk 8.1.1, and linux.
I am having trouble setting up the other sites to use this cert too.

I have it on secure.domain1.com

and want to have domain2.com use it too

so I assume I have to reference it by doing something like this
http://secure.domain1.com/username

and on the domain1's httpd.include do something like....

AliasMatch ^/username/(.*) /one/two/hosts/domain2.com/httpdocs/$1
ScriptAliasMatch ^/username/cgi/(.*) /one/two/hosts/domain2.com/httpdocs/cgi/$1

this works for everything but the cgi directory...IT does not recognize cgi scripts on the domain2, what am i doing wrong.

Things to know:
1. cgi does work on both domains, I tested it
2. cgi is inside the web directory and renamed from cgi-bin to cgi so it would not interfere with the cgi-bin on domain1 and to make sure it was being seen.
3. paths changed to fake names for security.


obviosusly I am missing something simple here, can you help?

Thanks
G
 
Back
Top