Ok, I had similar problems. When seeing your original config, it triggers following comments (after ##$) from me:
NameVirtualHost *:80 ##$ fine <VirtualHost domain1.com:80> ##$ <<---- you need *:80 here ! ServerAdmin r...@domain1.com DocumentRoot /var/www/html ServerName domain1.com ErrorLog /var/log/httpd/error_log CustomLog /var/log/httpd/access.log combined Redirect permanent / https://domain1.com/ </VirtualHost> <VirtualHost domain1.com:443> ##$ fine SSLEngine On SSLCertificateFile /etc/httpd/ssl/httpd.pem SSLCertificateKeyFile /etc/httpd/ssl/httpd.key ServerAdmin r...@domain1.com ServerName domain1.com DocumentRoot /var/www/html ErrorLog /var/log/httpd/error_log CustomLog /var/log/httpd/access.log combined </VirtualHost> <VirtualHost *:80> ##$ that is fine ServerName domain2.com ServerAlias domain2.com *.domain2.com DocumentRoot /var/www/html/domain2 </VirtualHost> Stefan Pielmeier email:ste...@symlinux.com On 5 Oct 2013, at 21:28, Eric Covener <cove...@gmail.com> wrote: > On Sat, Oct 5, 2013 at 3:22 PM, John McIntyre <joh98....@gmail.com> wrote: >> >> Okay, if you're not doing ssl on domain2 then, no, that's not related. I >> thought maybe from the post title that you were asking about virtual hosts >> for ssl and that gets complicated depending on exactly what you're trying to >> do. >> >> >> Guys, coming back at you with this, as I still can't get it to work. Does >> anyone have any ideas? > > It would help if you included your configuration, apachectl -S output, > and the test request/expectations/results each time something changes. > > > -- > Eric Covener > cove...@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org >