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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to