Re: Will these name based virtual host work with SSL?
Dave Paris <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ssl.user |
|---|---|
| Message-ID | <[email protected]> |
ok, with my notes and Aaron's, there *is* something you can do. If you create the certificate for www.domain.com, you can rewrite HTTPS requests to something like: https://www.domain.com/dev100/ https://www.domain.com/dev101/ ::tosses 0.02$USD on the table:: -d Aaron Dalton wrote: > [email protected] wrote: >> If in my httpd.conf file I have numerous virtual hosts defined with include files like: >> >> Include /usr/local/apache/conf/conf.d/devl00.conf >> Include /usr/local/apache/conf/conf.d/devl01.conf >> Include /usr/local/apache/conf/conf.d/devl02.conf >> Include /usr/local/apache/conf/conf.d/devl03.conf >> >> >> If I SSL enable the entire server in the main httpd.conf file, would I be able to access each virtual host on port 443 like https://devl02.mydomain.com/? >> I believe I would be able to access https://www.mydomain.com securely as well. >> I guess the question is, can you SSL enable the entire server, and access each virtual host via port 443? >> > > This comes up so often that it is in the Apache SSL FAQ. You may not > have more than one SSL host on any given IP/Port combination. > > http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#vhosts > > http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#vhosts2 > ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [email protected] Automated List Manager [email protected]