Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2001 08:44:31 -0400 (EDT)
From:      Jim Freeze <jim@freeze.org>
To:        BSD Freak <bsd-freak@mbox.com.au>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Different document roots for secure HTTP and HTTP
Message-ID:  <Pine.BSF.4.32.0106070840510.44838-100000@www.stelesys.com>
In-Reply-To: <200106070516.f575Fxh08890@xyzzy.intranet.snsonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0106070840510.44838-100000>