[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RewriteRule - Redirecting domain/dir + keep domain > RAQ4 Solution
- Subject: RE: [cobalt-users] RewriteRule - Redirecting domain/dir + keep domain > RAQ4 Solution
- From: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
- Date: Fri May 18 09:50:14 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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