Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23027 invoked from network); 7 Mar 2007 14:08:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2007 14:08:17 -0000 Received: (qmail 68204 invoked by uid 500); 7 Mar 2007 14:08:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 68033 invoked by uid 500); 7 Mar 2007 14:08:12 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 68022 invoked by uid 99); 7 Mar 2007 14:08:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 06:08:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of noodlet@gmail.com designates 64.233.184.224 as permitted sender) Received: from [64.233.184.224] (HELO wr-out-0506.google.com) (64.233.184.224) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 06:08:01 -0800 Received: by wr-out-0506.google.com with SMTP id i31so271860wra for ; Wed, 07 Mar 2007 06:07:40 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZhfKOtQTA1MFhtewntK8Tthi6VHbHra6Yq1gZiPpfSd15Kwnto2N/BetYED6yaMGAm63leHtZ2vHlFbNV9gJ6yBLOue3nhCsKWo3B1arnFxktg0FZw+YOxVOHdXv3a3MBfXb0M/7fpl6jwoLrzw34PY/EYTuFFZBF0RCNoLwEbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DrFnPl4c3ntMate3WqQJPLoIdnGcZtnBQHENVIG1QmZ/guSLHi1XSkl7GIt8MblE08CkIKJSDUwGm2cK7ADNzkQitDslfEUWrYf8B6NYAWZmTIlgGO739gkTRzMnxjCZvgSur+T/4XNWfq6r0rodwi41x07GGcYjCa3Pq5cKl6E= Received: by 10.100.142.12 with SMTP id p12mr3221562and.1173276459502; Wed, 07 Mar 2007 06:07:39 -0800 (PST) Received: by 10.100.109.1 with HTTP; Wed, 7 Mar 2007 06:07:39 -0800 (PST) Message-ID: <813716b60703070607h1a85997en53de48f295423acf@mail.gmail.com> Date: Wed, 7 Mar 2007 21:07:39 +0700 From: "Vincent Bray" To: users@httpd.apache.org In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679C51@PHSXMB5.partners.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9C63A4713C4E3342B90428CE44806A7302679C51@PHSXMB5.partners.org> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Automatic Redirect to a Secure Page in Apache 2.2.2 On 07/03/07, Kaplan, Andrew H. wrote: > Hi there -- > > I have set up SquirrelMail on our e-mail server and I would like to have > users be automatically redirected to a secure or https page when they type > in the URL to get to the initial login page. The apache server is version > 2.2.2. What file(s) should I modify to make this happen? The simplest way to do this is via: RedirectPermanent / https://example.com/ in a non-ssl vhost. You can get more complicated by using RedirectMatch ^/something$ https:// if you wish to redirect only certain urls, and more complicated yet using mod_rewrite. See here if you like complication: http://rewrite.drbacchus.com/rewritewiki/SSL -- noodl --------------------------------------------------------------------- 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