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: same vhost with ssl and nonssl
Author
holziusa



Joined: 02 Jan 2008
Posts: 48

PostPosted: Wed 23 Apr '08 1:02    Post subject: same vhost with ssl and nonssl Reply with quote

this has probably been asked but i am having hard time referencing to it.
i like to switch vhost from non-ssl to ssl local resources will stay the same
just to allow a secure connection.

fyi: ssl ceret is shared among other vhosts.

apache228,


thanks inadvance
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Wed 23 Apr '08 1:48    Post subject: Reply with quote

If you are using name-based virtual hosts, this is an Apache SSL Frequently Asked Question.

In short, the certificate must have the name of the virtual host in it. The connection needs be established using the certificate before the browser sends the name of the virtual host - so there is no way to choose the correct certificate if your IP address is shared by several different host names.

-tom-
Back to top
holziusa



Joined: 02 Jan 2008
Posts: 48

PostPosted: Wed 23 Apr '08 4:21    Post subject: Reply with quote

thanks 4 the info
after getting lost with mod_perl in the last 40 hrs
i overlooked the obvious so its down to seperate ip for each vhost
or configure the dns server for different ports such as 444..445..456 and so on.
kiss terms provide better reference 10 years from now.(-:
also have a newby right behind me wanting to use apache server(-:
Back to top


Reply to topic   Topic: same vhost with ssl and nonssl View previous topic :: View next topic
Post new topic   Forum Index -> Apache