Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-07-2004, 09:48 PM   #1
LQ Newbie
Registered: Jul 2003
Location: Baltimore, MD
Distribution: Mandrake, RedHat
Posts: 2

Rep: Reputation: 0
Cool Apache2, SSL, 2 Virtual Hosts

Hey All, I hope things rings a bell for someone, I've been stumped so far...

My goal is two host 2 websites on one server, with 1 IP address and have the primary website be able to use ssl with a certificate. I was able to do this fine in v1.3.x of Apache, but since I've upgraded the server to 2.x I've not been able to get my ssl to work. This is the error I get:

'The connection to ***************** has terminated unexpectedly. Some data may have been transmitted.'

I note no error in the ssl logs, or httpd logs when I make that request. I have two virtual hosts set up, for 2 websites. I only need ssl/https for one site, and have purchased and configured the cert.

If I disable virtual hosts conf file, and just serve the one website, I can get my secure connection just fine and peachy. However, once I use my vhost.conf file again I receive the above error.

I think there must be a way to use ssl for the first virtual host directive, and then not use the ssl for the second virtual host. I've been scouring the web for an answer, but don't have one quite yet. If anyone has any clues on this I will be very very happy.

Thanks. Bob


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subdomains on Apache2 with virtual hosts - how? <Ol>Origy Linux - Networking 2 08-18-2005 05:53 AM
Apache2 Virtual Dynamic Hosts and defaults techrolla Linux - Networking 1 11-01-2004 04:01 PM
Apache + SSL + Virtual Hosts otisthegbs Linux - Software 3 10-05-2004 07:59 PM
Mulltiple SSL Virtual Hosts w/Apache jrbush82 Linux - Software 3 04-12-2004 02:49 PM
apache2 virtual hosts viniosity Linux - Software 4 02-07-2004 12:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration