Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 10534 invoked from network); 21 Jan 2009 01:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2009 01:51:40 -0000 Received: (qmail 44202 invoked by uid 500); 21 Jan 2009 01:51:29 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 44182 invoked by uid 500); 21 Jan 2009 01:51:29 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 44173 invoked by uid 99); 21 Jan 2009 01:51:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 17:51:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@jaqui-greenlees.net designates 75.127.70.40 as permitted sender) Received: from [75.127.70.40] (HELO source3.sourcedns1.com) (75.127.70.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 01:51:20 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=jaqui-greenlees.net; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=sHfXYffmZ6qdkmF4dz9ECTSKhJV300KJ7fO3QbRXSMur/soyPPuO0NzSt7v5sRHXrm5CyRd8agSrasBo4HIvuaoBF+any7lIKkCJKYFlCZbT8k75E2ktS382kqSJirI+; Received: from [209.90.182.97] (helo=dev.runic-hosting.com) by source3.sourcedns1.com with esmtpa (Exim 4.69) (envelope-from ) id 1LPSF0-0004Rs-Ad for users@httpd.apache.org; Tue, 20 Jan 2009 20:50:50 -0500 Message-ID: <49767F59.10809@jaqui-greenlees.net> Date: Tue, 20 Jan 2009 17:50:17 -0800 From: "J. Greenlees" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081216 SeaMonkey/1.1.14 MIME-Version: 1.0 To: users@httpd.apache.org References: <20090120194029.GA23834@ns.sdsitehosting.net> <20090120201701.GA24442@ns.sdsitehosting.net> <4df3a1330901201221j223f873sa1b4cc0f5bf74b91@mail.gmail.com> <200901202155.03389.mlists@edicom.eu> <20090120230643.GA27183@ns.sdsitehosting.net> <49767CD0.5060306@jaqui-greenlees.net> In-Reply-To: <49767CD0.5060306@jaqui-greenlees.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - source3.sourcedns1.com X-AntiAbuse: Original Domain - httpd.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jaqui-greenlees.net X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] One host, two SSL sites J. Greenlees wrote: > John Oliver wrote: > >> On Tue, Jan 20, 2009 at 09:55:03PM +0100, Miguel Angel Tormo Alfaro wrote: >> >> >>> In conclusion, I would go for the virtualhost solution, too much hassle otherwise. >>> >>> >> OK, so... >> >> Since two apaches just doesn't seem to want to work, how do I go about >> getting this to work with IP VirtualHosts? >> >> Googling turns up a *lot* of threads about SSL and Name-Based >> VirtualHosts. I found some about people who seem to have SSL IP >> VirtualHosts working, but nothing about how they got there. >> >> I have two physical servers, each with it's own /etc/httpd/* hierarchy, >> certs, etc. Do I need to rename my /etc/httpd/conf.d/ssl.conf and put >> all SSL stuff in httpd.conf? >> >> I'm guessing I need something like: >> >> >> DocumentRoot /var/www/html >> SSLEngine on >> SSLCertificateFile /usr/local/apache/certs/my_cert.crt >> SSLCertificateKeyFile /usr/local/apache/certs/my_cert.key >> >> >> >> DocumentRoot /var/www/html2 >> SSLEngine on >> SSLCertificateFile /usr/local/apache/certs/my_cert.crt >> SSLCertificateKeyFile /usr/local/apache/certs/my_cert.key >> >> >> >> > Yup, those would work. I might go more: > > ServerAdmin @gmail.com > DocumentRoot /var/www/html > ServerName http://domain.com > ErrorLog /var/log/httpd/domain.com-error_log > CustomLog /var/log/httpd/domain.com-access_log common > > allow from all > Options +Indexes > > > > > ServerAdmin @gmail.com > DocumentRoot /var/www/html2 > ServerName http://domain.com > ErrorLog /var/log/httpd/domain.com-error_log > CustomLog /var/log/httpd/domain.com-access_log common > > allow from all > Options +Indexes > > oops, forgot the ssl cert lines in those vhost containers. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org