httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate" <nate.li...@tbh.info>
Subject Re: mod_rewrite question
Date Mon, 17 Jun 2002 17:14:00 GMT
Heh.. That is the exact answer I needed. That is why this list rocks.

Thanks Joshua!

Nate D.


----- Original Message -----
From: "Joshua Slive" <joshua@slive.ca>
To: "Apache List" <users@httpd.apache.org>
Sent: Monday, June 17, 2002 1:05 PM
Subject: Re: mod_rewrite question


>
> On Mon, 17 Jun 2002, Nate wrote:
> > Problem: I have a site, www.domain.com. I want to redirect
> > www.domain.com/blah/blah.nsf/* back to the main site (www.domain.com).
The
> > requested link used to go to a Notes database that now doesn't exist, so
I
> > want to redirect everyone back to the main site. I can't seem to get it
to
> > work.
>
> RedirectMatch /blah/blah.nsf.* http://www.domain.com/
>
> or if you really want mod_rewrite
>
> RewriteEngine On
> RewriteRule ^/blah/blah.nsf.* http://www.domain.com/
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message