Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 47102 invoked from network); 5 Mar 2006 12:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Mar 2006 12:46:05 -0000 Received: (qmail 15614 invoked by uid 500); 5 Mar 2006 12:46:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 15603 invoked by uid 500); 5 Mar 2006 12:46:42 -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 15588 invoked by uid 99); 5 Mar 2006 12:46:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Mar 2006 04:46:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of victor@ambra.ro designates 80.97.105.1 as permitted sender) Received: from [80.97.105.1] (HELO mail.ambra.ro) (80.97.105.1) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Mar 2006 04:46:41 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.ambra.ro (Postfix) with ESMTP id A93417887A for ; Sun, 5 Mar 2006 15:48:50 +0200 (EET) Received: from mail.ambra.ro ([127.0.0.1]) by localhost (mail68 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00621-10 for ; Sun, 5 Mar 2006 15:48:49 +0200 (EET) Received: from [127.0.0.1] (dgfp.ambra.ro [80.97.24.235]) by mail.ambra.ro (Postfix) with ESMTP id 127BD78888 for ; Sun, 5 Mar 2006 15:48:46 +0200 (EET) Message-ID: <440ADD98.1070703@ambra.ro> Date: Sun, 05 Mar 2006 14:46:16 +0200 From: victor User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: <440AC9C6.7090604@ambra.ro> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0609-3, 03.03.2006), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: by amavisd-new at ambra.ro X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: Redirecting urls to a server on a different port X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Try RedirectMatch instead Redirect. You can find all the necesary docs here: http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirectmatch. Bart Braem wrote: >victor wrote: > > > >>Try sometring like this >>Redirect /index.php http://localhost:8081 >>I use it with virtual host. >>index.php is a file from the docroot of that virtual host. >> >> > >That seems a nice solution but how can I make it work for an unlimited >number of files? Should I use regular expressions then? > >Thanks for your fast reply! > > >--------------------------------------------------------------------- >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