httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: mod_rewrite question
Date Mon, 17 Jun 2002 17:05:01 GMT

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


Mime
View raw message