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

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



Yes that works, thanks. (Redirect etc.)........therefore the problem must be
in the text of my .htaccess file,
i.e  the RewriteRule ^(.*) I am using.

Micheal


----- Original Message -----
From: "inc" <inc@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, January 25, 2001 5:12 PM
Subject: 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