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

Re: [cobalt-users] How do I redirect from one domain to another?



--- Kris Dahl <krislists@xxxxxxxxxxxxx> wrote:
> >> 4) Use an error 404 to redirect to the new site
> > I don't see how 404 will help.
> 
> Basically, you keep the virtual host, but delete all the files.  Then when
> a
> user trys to snag any file, they get the 404.  You place a custom error404
> that either does an http header redirect or meta refresh to kick you to the
> new site.  You could (theoretically) snag the page they were trying to get
> and pass that as part of the argument.  Basically its an option, but not a
> good one.

Apache's RedirectMatch directive will do that a little more cleanly. :)

Paul

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com