- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] apache redirect
- From: Daniel Pittman <daniel@xxxxxxxxxxxx>
- Date: Thu, 05 Jun 2008 22:48:16 +1000
- Organization: How about yours? http://rimspace.net/resume/
- User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)
"Voytek Eymont" <lists@xxxxxxxxxx> writes:
> we have two domains, aa.com and bb.com each with a vhost web site;
>
> some time ago, one vhost was dropped, and, both domains were served from
> single vhost, so that we had:
> aa.com had aa.com
> bb.com had aa.com/bb
>
> now, we went back to two individual vhosts, aa.com and bb.com
>
> is 'Redirect Permanent' best way to cater for any bookmarked access to 'no
> longer existenet at this url but at another server from now on' ?
More or less, yes. The possible less being that you may need
mod_rewrite to issue permanent redirects if the mapping isn't a trivial
identity mapping of the trees.
Otherwise, yes, moved permanently is the right HTTP response code.
Regards,
Daniel