From owner-freebsd-questions Thu Jun 7 14:20:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from k0r3.reflektor.cz (k0r3.reflektor.cz [212.24.129.54]) by hub.freebsd.org (Postfix) with SMTP id B9E9737B406 for ; Thu, 7 Jun 2001 14:20:37 -0700 (PDT) (envelope-from cynic@mail.cz) Received: (qmail 29461 invoked by uid 202); 7 Jun 2001 21:20:35 -0000 Received: from unknown (HELO zvahlav.mail.cz) (212.24.143.100) by k0r3.reflektor.cz with SMTP; 7 Jun 2001 21:20:35 -0000 Message-Id: <5.1.0.14.2.20010607231735.02161ea8@mail.cz> X-Sender: cynic@mail.cz X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 07 Jun 2001 23:28:32 +0200 To: BSD Freak , freebsd-questions@freebsd.org From: Cynic Subject: Re: Different document roots for secure HTTP and HTTP In-Reply-To: <36bd0636e78f.36e78f36bd06@mbox.com.au> 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 Hi there, you can either use IP-based VHosts like this: ServerName www.domain.com ... ServerName secure.domain.com ... Or, if you only have one IP for that host, name-based VHosts are possible. Note, that this solution is a workaround. as you can read in the Apache manual. Name-based VHost for HTTPS _does_ work _if_ it is the first VHost defined in your httpd.conf. At 07:06 7.6. 2001, BSD Freak wrote the following: -------------------------------------------------------------- >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 ------end of quote------ cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message