From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 15:53:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D5D916A4BF for ; Thu, 23 Oct 2003 15:53:14 -0700 (PDT) Received: from fed1mtao04.cox.net (fed1mtao04.cox.net [68.6.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2205F43FBD for ; Thu, 23 Oct 2003 15:53:13 -0700 (PDT) (envelope-from brently@bjwcs.com) Received: from SAMBA ([68.98.26.35]) by fed1mtao04.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031023225313.EVXC1644.fed1mtao04.cox.net@SAMBA>; Thu, 23 Oct 2003 18:53:13 -0400 From: "Brent Wiese" To: "'Dirk-Willem van Gulik'" Date: Thu, 23 Oct 2003 15:56:07 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20031023071112.M31358@skutsje.san.webweaving.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcOZb85qgg6PVVohQtSE2fWNmL+kmAASEVRg Message-Id: <20031023225313.EVXC1644.fed1mtao04.cox.net@SAMBA> cc: freebsd-questions@freebsd.org Subject: RE: Probably dumb apache question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 22:53:14 -0000 > > I have set up a new freebsd/apache/mod_ssl server. I want > to force all > > connections to use SSL. > > > > I know I can simply turn off listening on port 80, but > because I know people > > using this site will instinctivly type "http" instead of > "https", I'd like > > to force a redirect. > > > # Redirect *everything* to SSL. > RewriteEngine on > RewriteRule ^(.*) https://secure.foo.com$1 [R=301] > That works, except its changing the URL slightly. In the orignal http:// URI, I have a variable: &StatusOp=%3D After the rewrite, its appearing as: &StatusOp=%253D That's causing issues in the search. Any way to avoid that % being rewritten to %25? Thanks, Brent