From owner-freebsd-questions Thu Jun 7 7:15:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.lee.net (trinity.lee.net [208.229.121.1]) by hub.freebsd.org (Postfix) with ESMTP id 5D31537B403 for ; Thu, 7 Jun 2001 07:15:26 -0700 (PDT) (envelope-from awells@journalstar.com) Received: from journalstar.com (leepcC-227.sub-c.lee.net [208.205.126.227]) by trinity.lee.net (8.9.3/8.9.3) with ESMTP id JAA22622; Thu, 7 Jun 2001 09:15:18 -0500 Message-ID: <3B1F8BF4.4618FB4A@journalstar.com> Date: Thu, 07 Jun 2001 09:13:08 -0500 From: Tony Wells X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: BSD Freak Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Different document roots for secure HTTP and HTTP References: <36bd0636e78f.36e78f36bd06@mbox.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Run two binaries, one for secure connections (SSL, port 443) and one for regular connections (port 80). You can have two different config files http.conf and https.conf and have each one point to the correct DOCUMENT_ROOT. BSD Freak wrote: > > Hi all > > Does anyone know if it possible to run Apache with different ports for > secure HTTP and ordinary HTTP. For example I want to run my web server > as follows: > > port 443 (HTTPS) directed to document root /var/www-secure > port 80 (HTTP) directed to document root /var/www > > Each document root will have DIFFERENT content. > > Is this possible on the same server? > > Thank in advance..... > > ---------------------------------------------- > Earn money with mBox > Visit http://www.mbox.com.au/referral_programs.html > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message