[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Raq 4: .htaccess problem (Rewrite)
- Subject: Re: [cobalt-users] Raq 4: .htaccess problem (Rewrite)
- From: "inc" <inc@xxxxxxxxxxxxx>
- Date: Thu Jan 25 08:24:45 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I wish to use a .htaccess to redirct users who type in www.thedomain.com
to
> www.otherdomain.com/~user/ .
> The file involves the use of Rewrite but for some reason a script that
works
> on Raq 3 will not work on Raq 4!
>
> RewriteEngine on
> RewriteBase /
> RewriteRule ^(.*)$ http://www.otherdomain.com/~user/$1 [P]
>
did you consider a redirect instead?
Redirect / http://www.otherdomain.com/~user