Index: [Article Count Order] [Thread]

Date:  Fri, 27 Oct 2006 08:23:20 +0200
From:  Jes Kasper Klittum <jes (at mark) enavn.com>
Subject:  [coba-e:07736] Re: SSL for preview addresses
To:  coba-e (at mark) bluequartz.org
Message-Id:  <4541A5D8.60207 (at mark) enavn.com>
In-Reply-To:  <4538D22C.6080609 (at mark) enavn.com>
References:  <4538D22C.6080609 (at mark) enavn.com>
X-Mail-Count: 07736

Has anyone got an idea about how to get my server to listen on port 443 
for preview addresses, without having to do the trick below?

Jes

Jes Kasper Klittum wrote:
> Is there any way to start SSL on the main server, instead of just on 
> sites? I would like to be able to use 
> https://servername.com/www.somedomain.com/somefile and have this SSL 
> encrypted with the SSL cert that I imported in the admin - however, the 
> server is not listening on port 443, so this is not possible, Only way I 
> have been able to do this was:
> 
> 1) Edit /usr/sausalito/handlers/base/vsite/unique.pl to make sure that I 
> am able to add a site with the same name as the server.
> 2) Import SSL cert on newly created site, and enable SSL (now port 443 
> is active).
> 3) Edit /etc/httpd/conf/httpd.conf and uncomment the ServerName variable 
> and put in the same name as the newly created site.
> 
> Now SSL is available for 
> https://servername.com/www.somedomain.com/somefil. but it seems to be an 
> ugly hack.
> 
> /Jes
> 
>