Re: rewriting URL in 301/302 response

From: Kazuto Tominaga <tominaga@dont-contact.us>
Date: Fri, 09 Jan 1998 15:20:19 +0900

From: Henrik Nordstrom <hno@hem.passagen.se>
Subject: Re: rewriting URL in 301/302 response
Date: Fri, 09 Jan 1998 00:50:02 +0100
Message-ID: <34B5662A.62095436@hem.passagen.se>

> ############################################
> # Setup B, Many servers acting as one big #
> ############################################

I chose this and tried, but another problem occurred (although this
problem is of the web server, not of squid):

> http://..../xlab/ -> http://www.xlab.my.site/xlab/
> http://..../ylab/ -> http://www.ylab.my.site/ylab/

To access user directories at xlab, URL is like

  http://www.squid.my.site/xlab/~user/

and the redirector rewrites it into

  http://www.xlab.my.site/xlab/~user/

My web server (Apache 1.2.5) treats ~user as a user directory only
if it appears directly after the web server name in the URL, i.e.,
http://www.xlab.my.site/~user/. So I must seek another solution.

Anyway, thanks a lot, and I appreciate any further suggestion!

Regards,

 -- tominaga
Received on Thu Jan 08 1998 - 22:27:04 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:21 MST