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

Re: [cobalt-users] Redirect



hi

i have a problem here i got a qube 3 appliance is there any way to use
virtual hosts here to have more than one site running on the server

thanks


----- Original Message -----
From: "John A. Federico" <cobalt@xxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, March 21, 2003 8:42 AM
Subject: Re: [cobalt-users] Redirect


> On Thu, 20 Mar 2003, Todd W wrote:
>
> > I was wandering if there was a way to redirect a site like this:
> >
> > person goes to www.domain.com and they are redirected to
> > www.domain2.com/folder
>
> Use mod_rewrite:
>
> http://httpd.apache.org/docs/mod/mod_rewrite.html
>
> This guide is also very helpful:
>
> http://httpd.apache.org/docs/misc/rewriteguide.html
>
> Set up your .htaccess file like this:
>
> RewriteEngine on
> RewriteRule   ^/?$  /directoryName/  [R]
>
> hth
>
> -jf.
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>