Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache2 two virtual hosts with only one using SSL |
|
Author |
|
thamoomin81
Joined: 12 Oct 2013 Posts: 1 Location: UK, Bristol
|
Posted: Sat 12 Oct '13 19:02 Post subject: Apache2 two virtual hosts with only one using SSL |
|
|
Hi,
Wondering if anyone can help, I am messing with Apache at home and have managed to create virtual hosts with no problems, my next step was to produce a self signed SSL cert. which again has worked but it's redirecting my non-SSL virtual host to the host I have set-up for SSL for example:
- www.mysite1.com set-up with SSL and works as designed both http and https
- www.mysite2.com I don't want using SSL is working fine through http but if you try https it will then redirect to www.mysite1.com
Hope my explanation makes sense, any idea what's happening?
Regards,
Ross |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 13 Oct '13 18:22 Post subject: |
|
|
Hi Ross,
That is actually the standard behavior for Apache. It's the same behavior like on the non-ssl virtualhosts, since it is still a virtualhost, just listens on port 443. |
|
Back to top |
|
|
|
|
|
|