Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 17102 invoked by uid 500); 13 Mar 2003 14:09:33 -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 17088 invoked from network); 13 Mar 2003 14:09:33 -0000 Received: from unknown (HELO gate.sede.polin.it) (80.16.103.170) by daedalus.apache.org with SMTP; 13 Mar 2003 14:09:33 -0000 Received: from gate.sede.polin.it (localhost.localdomain [127.0.0.1]) by gate.sede.polin.it (8.11.6/8.11.0) with ESMTP id h2DE7JY26078 for ; Thu, 13 Mar 2003 15:07:19 +0100 Received: from software (rossignoli.sede.polin.it [192.6.1.76]) by gate.sede.polin.it (8.11.6/8.11.0) with SMTP id h2DE7IV26072; Thu, 13 Mar 2003 15:07:18 +0100 Message-ID: <004201c2e96a$2158fb40$4c0106c0@software> From: "Andrea Rossignoli" To: , References: <2491.193.172.11.241.1047564228.squirrel@webmail.formmailer.nl> Date: Thu, 13 Mar 2003 15:09:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] some mod_rewrite help needed.... Hi, instead of using rewrite rules you could use the redirectmatch directive. So basically you need: RedirectMatch ^(.*)$ http://some-other-domain.com$1 ~Andrea ----- Original Message ----- From: "Jasper Metselaar" To: Sent: Thursday, March 13, 2003 15:03 Subject: [users@httpd] some mod_rewrite help needed.... > Hi, > > I am currently struggling with mod_rewrite. > What I need to do is the following: > > Every URL on the domain mydomain.com should be redirected to: > http://www.some-other-domain.com/some-aspfile.asp?something > > > So basically the whole domain should be redirected to a specific page on a > different server with a different domain name. > > Can someone point me in the right direction? > > Thanks in advance! > > Kind regards, > Jasper > > > > --------------------------------------------------------------------- > 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