Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 91305 invoked by uid 500); 2 Aug 2002 15:23:59 -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 91294 invoked from network); 2 Aug 2002 15:23:59 -0000 Received: from arachne.eng.utah.edu (155.99.222.1) by daedalus.apache.org with SMTP; 2 Aug 2002 15:23:59 -0000 Received: from che2281 (che2281.che.utah.edu [155.99.173.40]) by arachne.eng.utah.edu (8.12.0/8.12.0) with SMTP id g72FO1sD020903 for ; Fri, 2 Aug 2002 09:24:01 -0600 (MDT) From: "Christian Fredrickson" To: "Apache" Subject: Trailing slash? Date: Fri, 2 Aug 2002 09:24:01 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a new web server. I want to redirect requests for user directories on the new web server to the old web server, but keep the base URL. I have succeeded to an extent. The following rules work, but only if the trailing "/" is added to the directory. My rule: RewriteRule ^/~(.+) http://oldserver.com/~$1 [P] As long as the trailing "/" character is added to the end of any URL requests, the rule works and proxies them to the correct server as a proxy so the base URL is kept. How can I get around my "/" issue? Thank you, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org