httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Plüm, Rüdiger, Vodafone Group <>
Subject RE: Why aren't name-based vhosts not working properly under SSL?
Date Mon, 16 Apr 2012 16:24:02 GMT
Without a NameVirtualHost directive this cannot work as you intend.
Add NameVirtualHost *:433



From: Mikhail T. []
Sent: Montag, 16. April 2012 18:07
Subject: Re: Why aren't name-based vhosts not working properly under SSL?

On 16.04.2012 11:55, Eric Covener wrote:

Got a pointer to your configuration?
Well, the real one I was designing now uses a work-around (single vhost with mod_rewrite examining
the Host-header and picking the proper subdirectore). Here is a mock one, that I'd rather
be using -- instead of messing with mod_rewrite:
Listen: 443

# Common settings for all:
SSLCertificateFile      conf/ssl.crt/everywhere.cer
SSLCertificateKeyFile   conf/ssl.key/everywhere.key
SSLCertificateChainFile conf/ssl.crt/Comodo-intermediate.cer

<VirtualHost *:443>
ServerName    drupal6
DocumentRoot  /www/drupal6

<VirtualHost *:443>
ServerName    drupal7
DocumentRoot  /www/drupal7
Older projects 1 and 2 use Drupal-6, while the new projects 3 and 4 -- Drupal-7. Yours,

View raw message