delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/13/20:21:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3F11F775.B1879287@dessent.net>
Date: Sun, 13 Jul 2003 17:21:09 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Apache with mod_proxy as caching proxy randomly fails
References: <3F11D8D0 DOT 1B1955CF AT dessent DOT net> <Pine DOT CYG DOT 4 DOT 55 DOT 0307140036191 DOT 2052 AT ellixia>

Elfyn McBratney wrote:

> I assume your using 1.3.24-5? There are known problems in the proxy code and
> wasn't stable "stable" until 1.3.2{5,6}. You might try a newer version...or
> there's always squid. :-)

Hmmm.... Well, I just got .27 to compile.  I hadn't before, but after
screwing with the .24-5 package I knew what to do this time:

LIBS=-lgdbm_compat ./configure --with-layout=Cygwin \
             --with-port=80 --enable-module=most \
             --enable-shared=max
make
make
make install
mv /lib/apache/libhttpd.* /bin

Fortunately, I don't need mod_ssl so I didn't need to bother trying to
graft in EAPI.

This works, but I first had to remove all vestages of the .24 install,
because the unpatched .27 source makes different filenames (http.exe ->
httpd, cyghttpd.dll -> libhttpd.dll, etc.)  I think that was what was
tripping me up previously when I tried this.

But I still get "(13)Permission denied: proxy: error linking cache file"
errors when I force a reload (Ctrl-F5 in IE, Shift-F5 in Moz/Phoenix.) 
Interestingly, IE gives a broken image whereas Phoenix doesn't -- it
displays the image even though the request returned 503.  (I know this
from watching my Privoxy logs, which sits in the chain inbetween browser
and apache.)

So, still stumped.  It seems to have something to do with the "Pragma:
No-Cache" header that the browser sends, or at least I think that's it
(apache log lists it as "pragma_req=no-cache".)

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019