How to setup shared SSL - scriptalias problem

How to setup shared SSL - scriptalias problem

am 06.07.2007 14:43:25 von Ardin

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 this
http://secure.domain1.com/username

and on the domain1's httpd.conf do this ....

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 - instead, the source is displayed, what am i doing
wrong.

Things to know:
1. cgi does work on both domains, I tested it and the same cgi files run
when run from http, not https through secure domain.
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