You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@hyperreal.org> on 1998/01/06 04:56:06 UTC

proxypass oddity

Interesting.  On Hyperreal I have:

  ProxyPass /zines/ambientm http://www.dope.org/ambient

Which gives me this behavior:

  HEAD /zines/ambientm HTTP/1.0

  HTTP/1.0 302 Moved Temporarily
  Date: Tue, 06 Jan 1998 03:51:25 GMT
  Server: Apache/1.2b6
  Location: http://www.dope.org/ambient/
  Content-type: text/html

and

  HEAD /zines/ambientm/ HTTP/1.0

  HTTP/1.0 200 OK
  Date: Mon, 05 Jan 1998 11:55:13 GMT
  Server: Apache/1.2b6
  Content-Type: text/html
  Last-Modified: Wed, 24 Dec 1997 07:22:44 GMT
  ETag: "3c08d-2f4-34a0b844"
  Content-Length: 756
  Accept-Ranges: bytes

Uh...?  This apparently has only just started happening.

	Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"Optimism is a strategy for making                         brian@apache.org
a better future." - Noam Chomsky                        brian@hyperreal.org

Re: proxypass oddity

Posted by Brian Behlendorf <br...@hyperreal.org>.
So the origin server returns a 302, so the proxy returns a 302.  Ha.  I
guess it's "correct" based on the code, but certainly not what's expected
by the user of ProxyPass.  I'll file this as a low priority change-request.

	Brian

At 04:26 PM 1/6/98 +0100, Dirk-Willem van Gulik wrote:
>I'snt that just the '/' at the end ?
>
>DW.
>
>
>On Mon, 5 Jan 1998, Brian Behlendorf wrote:
>
>> 
>> Interesting.  On Hyperreal I have:
>> 
>>   ProxyPass /zines/ambientm http://www.dope.org/ambient
>> 
>> Which gives me this behavior:
>> 
>>   HEAD /zines/ambientm HTTP/1.0
>> 
>>   HTTP/1.0 302 Moved Temporarily
>>   Date: Tue, 06 Jan 1998 03:51:25 GMT
>>   Server: Apache/1.2b6
>>   Location: http://www.dope.org/ambient/
>>   Content-type: text/html
>> 
>> and
>> 
>>   HEAD /zines/ambientm/ HTTP/1.0
>> 
>>   HTTP/1.0 200 OK
>>   Date: Mon, 05 Jan 1998 11:55:13 GMT
>>   Server: Apache/1.2b6
>>   Content-Type: text/html
>>   Last-Modified: Wed, 24 Dec 1997 07:22:44 GMT
>>   ETag: "3c08d-2f4-34a0b844"
>>   Content-Length: 756
>>   Accept-Ranges: bytes
>> 
>> Uh...?  This apparently has only just started happening.
>> 
>> 	Brian
>> 
>> 
>> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
>> "Optimism is a strategy for making                         brian@apache.org
>> a better future." - Noam Chomsky                        brian@hyperreal.org
>> 
>
>http://cils.ceo.org                         http://enrm.ceo.org
>dirkx@technologist.com                     Dirk.vanGulik@jrc.it
>+39 332 78 0014       +39 332 78 9549       fax +39 332 78 9185
>ISEI/ESBA;                     The Center For Earth Observation
>Joint Research Centre of the European Communities, Ispra, Italy
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"Optimism is a strategy for making                         brian@apache.org
a better future." - Noam Chomsky                        brian@hyperreal.org

Re: proxypass oddity

Posted by Dirk-Willem van Gulik <Di...@jrc.it>.
I'snt that just the '/' at the end ?

DW.


On Mon, 5 Jan 1998, Brian Behlendorf wrote:

> 
> Interesting.  On Hyperreal I have:
> 
>   ProxyPass /zines/ambientm http://www.dope.org/ambient
> 
> Which gives me this behavior:
> 
>   HEAD /zines/ambientm HTTP/1.0
> 
>   HTTP/1.0 302 Moved Temporarily
>   Date: Tue, 06 Jan 1998 03:51:25 GMT
>   Server: Apache/1.2b6
>   Location: http://www.dope.org/ambient/
>   Content-type: text/html
> 
> and
> 
>   HEAD /zines/ambientm/ HTTP/1.0
> 
>   HTTP/1.0 200 OK
>   Date: Mon, 05 Jan 1998 11:55:13 GMT
>   Server: Apache/1.2b6
>   Content-Type: text/html
>   Last-Modified: Wed, 24 Dec 1997 07:22:44 GMT
>   ETag: "3c08d-2f4-34a0b844"
>   Content-Length: 756
>   Accept-Ranges: bytes
> 
> Uh...?  This apparently has only just started happening.
> 
> 	Brian
> 
> 
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> "Optimism is a strategy for making                         brian@apache.org
> a better future." - Noam Chomsky                        brian@hyperreal.org
> 

http://cils.ceo.org                         http://enrm.ceo.org
dirkx@technologist.com                     Dirk.vanGulik@jrc.it
+39 332 78 0014       +39 332 78 9549       fax +39 332 78 9185
ISEI/ESBA;                     The Center For Earth Observation
Joint Research Centre of the European Communities, Ispra, Italy