From owner-freebsd-questions Thu Jun 7 5:44:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freeze.org (www.stelesys.com [208.177.187.226]) by hub.freebsd.org (Postfix) with ESMTP id 7128F37B403 for ; Thu, 7 Jun 2001 05:44:41 -0700 (PDT) (envelope-from jim@freeze.org) Received: (from jim@localhost) by freeze.org (8.11.3/8.11.2) id f57CiVV53885; Thu, 7 Jun 2001 08:44:31 -0400 (EDT) (envelope-from jim) X-Authentication-Warning: www.stelesys.com: Processed from queue /var/spool/alt_queue X-Authentication-Warning: www.stelesys.com: Processed by jim with -C /web/siteinfo/freeze/mail/sendmail.cf Date: Thu, 7 Jun 2001 08:44:31 -0400 (EDT) From: Jim Freeze X-X-Sender: To: BSD Freak Cc: Subject: Re: Different document roots for secure HTTP and HTTP In-Reply-To: <200106070516.f575Fxh08890@xyzzy.intranet.snsonline.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > On Thu, 07 Jun 2001 15:06:47 +1000, BSD Freak said: > > :: 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 I don't think this can be done through the config file directly. You probably will have to resort to mod_rewrite. With rewrite you can essentially map any url to any other url. ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org ========================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message