Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jun 2001 09:13:08 -0500
From:      Tony Wells <awells@journalstar.com>
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:  <3B1F8BF4.4618FB4A@journalstar.com>
References:  <36bd0636e78f.36e78f36bd06@mbox.com.au>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B1F8BF4.4618FB4A>