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

Re: [cobalt-users] Redirect



On Fri, 21 Mar 2003, John A. Federico 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

On second thought, that may not work.

I believe that when using mod_rewrite and virtual hosts, the directory to
which you're redirecting needs to be in the vhost's directory tree - it
may note work if you're pointing to the root of another domain.

Can anyone confirm/deny this?

-jf.