Mobile app version of vmapp.org
Login or Join
Mendez628

: Apache is redirecting all https requests to one vhost Apache novice here, We run a server with a few dozen vhosted sites, under apache 2.2.22 on ubuntu 12.0.4. None of them had a SSL before.

@Mendez628

Posted in: #Apache2 #Https #Ubuntu #Virtualhost

Apache novice here,

We run a server with a few dozen vhosted sites, under apache 2.2.22 on ubuntu 12.0.4. None of them had a SSL before. We had a client request one the other day, and shortly after began my issue.

I thought I was doing well setting up that client's vhost with ssl. It is rewriting any http request on that domain to port 443 and serving the page on a secure layer. But I realized that any vhost request made with , is forwarding to the domain that ssl was set up on. All normal http requests are sent properly.

To sum it up...
We have:

1. example1.com 2. example2.com 3. example3.com

I just set up SSL for example3.com, but any request made to example1.com or example2.com, forward to www.example3.com.
Is there something I need to add to my httpd.conf file to turn off ssl globally, and within the vhost turn it on for the specific domain?

Any suggestions will help at this point.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Mendez628

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme