Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 37874 invoked from network); 12 Oct 2004 17:52:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Oct 2004 17:52:22 -0000 Received: (qmail 58585 invoked by uid 500); 12 Oct 2004 17:52:07 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 58485 invoked by uid 500); 12 Oct 2004 17:52:06 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 58469 invoked by uid 99); 12 Oct 2004 17:52:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [209.189.227.19] (HELO skadi.xtria.com) (209.189.227.19) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 12 Oct 2004 10:52:03 -0700 Received: from btx02.btx.corp.xtria.com ([192.168.245.17]) by skadi.xtria.com (8.13.1/8.13.1) with ESMTP id i9CHq1i2008615 for ; Tue, 12 Oct 2004 12:52:01 -0500 Received: from va02.va.corp.xtria.com ([172.20.8.4]) by btx02.btx.corp.xtria.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 Oct 2004 12:52:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 12 Oct 2004 13:53:02 -0400 Message-ID: <225735BE378BA7489D57D942F109AF69836C61@va02.va.corp.xtria.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Securing individual directories (SSL) Thread-Index: AcSwgMu1USG6TXNRSTadSrpS5TyLbQAAEHcA From: "Warron French" To: X-OriginalArrivalTime: 12 Oct 2004 17:52:00.0954 (UTC) FILETIME=[2CF371A0:01C4B084] X-Scanned-By: MIMEDefang 2.44 X-Virus-Checked: Checked Subject: RE: [users@httpd] Securing individual directories (SSL) X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Barry, I too am not fluent with Apache. However, I know that you can = run 2 Apache daemons at one time. Perhaps use httpd with an httpd/httpd.conf for you "unsecure" sites, and = use httpsd/httpsd.conf(sp?) with your httpsd. Hope this helps. Warron French -----Original Message----- From: Barry (@islandkey.com) [mailto:barry@islandkey.com] Sent: Tuesday, October 12, 2004 1:24 PM To: Apache Users Subject: [users@httpd] Securing individual directories (SSL) I'm attempting to setup secure https for JUST the documentroot of my webserver so that the login process is done via https, and once logged = in, it switches back to http. Currently, I have the entire server running strictly https via rewrite conditions like the following: RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [NC,R,L] Here is how my current virtualhost setup is configured: DocumentRoot "/var/www/html" ServerName www.domain.com:443 ServerAdmin admin@domain.com ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /etc/httpd/conf/ssl.crt/www.domain.com.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/www.domain.com.key SSLCACertificateFile /usr/share/ssl/certs/ca-bundle.crt ServerAdmin admin@domain.com ServerName www.domain.com ServerAlias domain.com DocumentRoot /var/www/html RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [NC,R,L] So, what I'd like to do is setup https for only the var/www/html = directory, and any subdirectories will be http (eg. /var/www/html/products would be http). Can anyone give me some tips (or let me know if it's even possible) on = what I'd need to change in order to do this? I'm not terribly fluent with = Apache, but I understand the basics. Thanks very much for your time, TH --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org