[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Sharing an SSL Cert



----- Original Message -----
From: "Ian"
Sent: Tuesday, November 26, 2002 2:32 AM
Subject: [cobalt-users] Sharing an SSL Cert


> Hi guys,
>
> I have setup the sharing of an SSL site for all other virtual sites using
the
> code within uk2raq.com, but can not get the CGI scripts to work using the
> feature.
>
> It mentions using an altered cgiwrap function, but this is aimed at RaQ3
users
> and I am using a RaQ4r. Has anyone got this to work on a RaQ4 as I dont
want to
> do this and muck it up on the r4 because something is totally out of wack
> compared to the r3.
>
> Any ideas would be much appreciated.
>
> Ian
>

Hey Ian,
We have a RaQ4R and here is how we did it basically..

First I setup a site "secure.domain.com" that was the only site the SSL cert
was on..  Then I SSH'ed into the box and edited the "httpd.conf" file and
searched until I found the virtual host entry for the secure domain...

Then I added the following lines:
AliasMatch ^/sites/([^/]+)(/(.*))? /home/sites/$1/web/$3
AddHandler cgi-script .cgi
AddHandler cgi-script .pl

And I commented/removed these lines below:
#AddHandler cgi-wrapper .cgi
#AddHandler cgi-wrapper .pl

Then saved the file and restarted apache..  I am now able to access any site
on my box through it like so:
https://secure.domain.com/sites/www.sitename.com/pagename.htm
or without the SSL also...
http://secure.domain.com/sites/www.sitename.com/pagename.htm

Please let me know if this works for you..

P.S. *****  BACKUP EVERYTHING BEFORE YOU CHANGE IT *****

-Jamie-
http://w-c.net
WebConnection.Net, Inc.
In a mad world, only the mad are sane...