On Sat, Jul 10, 2010 at 09:40:43AM +0200, Willy Tarreau wrote:
> On Thu, Jul 08, 2010 at 04:12:23PM -0600, Jeremy Hinegardner wrote:
>
> > If that is not possible, then I could make do with the 404 response from
> > the new_repo backend being converted to a 302 response to the client
> > libs with a Location header specifying a different hostname, but the
> > same path.
> >
> > Thoughts?
>
> This is terribly dirty ;-)
> Why would not your server perform the 301 itself if it is aware of the
> docs which are moving ? That's something very common in apache's .htaccess
> for instance. You just copy the directory to the new server, update the
> .htaccess, then remove the directory and you're done.
Yup, that's probably a better way of solving it. Apache isn't involved in this system, but a similar approach I think is possible, I'll have to doublecheck.
thanks,
-jeremy
-- ======================================================================== Jeremy Hinegardner jeremy#hinegardner.orgReceived on 2010/07/11 08:04
This archive was generated by hypermail 2.2.0 : 2010/07/11 08:15 CEST