[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Raq 4: .htaccess problem (Rewrite)




> 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