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

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



This is how I do it but some hostmasters may require the ability to allow
users to do this without access to conf's etc. making .htaccess more
practical.

Beyond2K - Hostmaster
---------------------------------------------
The World's premier mobile phone boutique
With free SMS & free personal No's
www.b2kcomms.co.uk

----- Original Message -----
From: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Saturday, May 19, 2001 1:27 AM
Subject: 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
> 
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>