3 ms·
Wouldn't it be simpler to use VirtualHost so you only respond with content to requests for your domain? Then set it up so requests without the domain name get
by jauer 16y ago
Wouldn't it be simpler to use VirtualHost so you only respond with content to requests for your domain?
Then set it up so requests without the domain name get a 301 redirect to the canonical URL.
- blantonl 16y agoon Apache, SSL and VirtualHost don't play together.
- dhess 16y agoThey do with Apache 2.2.12 or later and any recent browser: http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI http://en.wikipedia.org/wiki/Server_Name_Indication http://en.wikipedia.org/wiki/Server_Name_Indication I'm using SNI on all of my domains, and it works great.