logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache2 two virtual hosts with only one using SSL
Author
thamoomin81



Joined: 12 Oct 2013
Posts: 1
Location: UK, Bristol

PostPosted: Sat 12 Oct '13 19:02    Post subject: Apache2 two virtual hosts with only one using SSL Reply with quote

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

PostPosted: Sun 13 Oct '13 18:22    Post subject: Reply with quote

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


Reply to topic   Topic: Apache2 two virtual hosts with only one using SSL View previous topic :: View next topic
Post new topic   Forum Index -> Apache