httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <dav...@walterisookeensufferukker.nl>
Subject Re: [users@httpd] HTTPS configuration issue with multiple virtual host
Date Thu, 09 Apr 2009 08:12:00 GMT
J. Bakshi wrote:
> Hello Davide,
> 
> I have no problem to use the same certificate because this is a test
> server. I am really eager to know how to achieve this and I am using
> name based vhost here.
> 
> Please enlighten me.

The same way you do with non-SSL VHosts, only, you have to add SSL
specific directives:

NameVirtualHost *:443

<VirtualHost *:443>
	ServerName ...
	DocumentRoot ...
	..other directives as required
	...SSL-directives
</VirtualHost>

<VirtualHost *:443>
	...
</VirtualHost>

Usually, the default SSL configuration is already in one VirtualHost, so
just look how that is done and copy it changing the 'ServerName' bit.

Davide


-- 
I'm suing a cigarette company because on the package they promised to
kill me, and yet here I am.
-- Kurt Vonnegut

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message