httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Rossignoli" <softw...@polin.it>
Subject Re: [users@httpd] some mod_rewrite help needed....
Date Thu, 13 Mar 2003 14:09:15 GMT
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" <jasper@formmailer.nl>
To: <users@httpd.apache.org>
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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message