W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1998

RE: Full URL if Proxy ?

From: Rob Polansky <polansky@raptor.com>
Date: Thu, 24 Sep 1998 16:17:39 -0400
To: wendy@cs.ualberta.ca, http-wg@hplb.hpl.hp.com
Message-Id: <006101bde7f8$60d15880$cb0115ac@raptor.com>
Sounds more like a quirk than a bug. Since "~wendy" is not followed by a
"/", the browser thinks it has received the page "~wendy" in the root
directory. That is why "subdir/hello.html" looks like it sits under the root
directory, not your "~wendy" subdirectory.

I've seen some servers respond to the request for "~wendy" with a 301
redirecting to "~wendy/" just to make clear that you're getting the default
document for that subdirectory. I don't see that as a requirement, but
others can correct that assumption.

-Rob Polansky

> -----Original Message-----
> From: wendy@cs.ualberta.ca [mailto:wendy@cs.ualberta.ca]
> Sent: Monday, September 21, 1998 6:53 PM
> To: http-wg@hplb.hpl.hp.com
> Cc: Wendy Liew
> Subject: Full URL if Proxy ?
>
>
> HI, has anyone encounter the following problem:
>
> I run netscape as the client browser talking to an apache web server.
> In between them there is a proxy server sitting on the client
> machine.  The proxy serve simply do tunneling now.
>
>  I request the first url, e.g. http://www.cs.ualbert.ca/~wendy, which
>  is my home dir in my research acct.
>
>  Then I request a link on the page, which in the html page is simply
>  pointing to a file in a subdirectory, e.g. <a href="subdir/hello.html">
>
>  The request header received upon the second request is not what I read
>  from the http 1.1 spec....
>
>  Received:
>  GET http://www.cs.ualberta.ca/subdir/hello.html HTTP/1.1
>
>  Instead of what I expected to be
>  GET http://www.cs.ualberta.ca/~wendy/subdir/hello.html HTTP/1.1
>  (recall full path if thru proxy)
>
>  Does anyone know why ?  This happens every so often.  Is this an apache
>  server or netscape browser bug ???
>
>  Thanks in advance for any responses....
>  Wendy
>
>
>
Received on Thursday, 24 September 1998 13:18:18 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:33:24 EDT