On a 1.3.27 server with 1 IP address and 3 name based virtual hosts.
As it is now, if you use 'https' with any of the domain names that
resolves to this server's address, you'll see the same document root.
How do I limit the SSL part to work for just "www.example2.com" and
not for any of the other domains? Also, suggestions on what to return
in those other cases are also welcome (404? Something else?).
Here's my minimal config:
ServerName www.example1.com
DocumentRoot /example1
<VirtualHost *>
</VirtualHost>
<VirtualHost *>
ServerName www.example2.com
DocumentRoot /example2
</VirtualHost>
<VirtualHost *>
ServerName www.example3.com
DocumentRoot /example3
</VirtualHost>
<VirtualHost _default_:443>
# I only want this port to "work" for https://www.example2.com/*
DocumentRoot /example2
</VirtualHost>
Thanks.
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]