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

RE: [cobalt-users] RewriteRule - Redirecting domain/dir + keep domain > RAQ4 Solution



> After reading several posts on using the below code to redirect (keeping
> domain name and links in browser) I read up and found the problem.
>
> The below code either in a conf or .htaccess works on the RAQ3 but not on
> the RAQ4:
> ==========
> RewriteEngine on
> RewriteBase  /
> RewriteRule  ^(.*)$ http://newdomain.com/directory/whatever/$1 [P]
> ==========
>

Probably better to put it in an include.conf file instead of creating
another virtual site and all that overhead and using .htaccess.
--
Dan Kriwitsky