Hi all,

Probably a slap-on-the-forehead question...

I've a server with 2 cnames... the machine is rarely accessed by its real
name. One vhost is accessed both SSL and non-SSL. The other is only non-SSL
at this time.

Problem being when I add another VirtualHost directive to accept
connections on 443 for the second vhost, I end up getting the first vhost
pages. The non-secure pages are served ok. Is it me or is this normal?

httpd.conf in essence...

NameVirtualHost 1.2.3.4
<VirtualHost 1.2.3.4
ServerName foo.etc.etc
DocumentRoot /pkg/httpd/docroot/default
</VirtualHost>

<VirtualHost 1.2.3.4
ServerName bert.etc.etc
DocumentRoot /pkg/httpd/docroot/bert
</VirtualHost>

<VirtualHost 1.2.3.4:443>
ServerName bert.etc.etc
DocumentRoot /pkg/httpd/docroot/bert
...
SSL directives...
...
</VirtualHost>

<VirtualHost 131.181.127.63>
ServerName ernie.etc.etc
DocumentRoot /pkg/httpd/docroot/ernie
</VirtualHost>

<VirtualHost 1.2.3.4:443>
ServerName ernie.etc.etc
DocumentRoot /pkg/httpd/docroot/ernie
...
SSL directives...
...
</VirtualHost>


Any assistance greatly appreciated.


________________________________________________________________________
Aaron J. Bell
Business Process Re-Engineering
Department of Computing Services
Queensland University of Technology
Brisbane, Queensland, Australia
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to