apache mod_proxy functionality

apache mod_proxy functionality

Post by Glen Eusta » Wed, 12 Jun 2002 10:44:37



mod_proxy has undergone a number of changes recently (1.3.23),
however, it would appear to still not provide a function that I need.

According to RFC2068, section 13.1.1, if the origin server is unable
to be contacted, then a proxy may return previously cached content,
provided that the specified conditions are meet.

I had a version of 1.3.12 that I hacked to achieve this, has anyone
implemented or is anyone considering implementing this using the
1.3.23 source ? I am probably going to have another go but the current
source is somewhat different and I don't want to re-design the wheel
if I don't need to.

Any comments appreciated.

Glen.

 
 
 

1. Apache 1.1b* mod_proxy patch (Expires)

Over the last couple of days, Paul Callahan and myself have been
working with the Apache 1.1b4 src. We found a typo in mod_proxy.c
Expire vs Expires. Below is a the output of :

diff mod_proxy.c.new mod_proxy.c.orig

1810,1814c1782
<     expire = get_header(resp_hdrs, "Expires");
<     if (expire != NULL)
<       Explain1("cache_update:  Read Expire as %s from header",
expire->value);
<     else
<       Explain0("cache_update:  No expires found");
---

Whoops :)

--
jpf

------------------------------------------------------------------
JP Freeley                                        40 Rector Street
Internet Services Developer                          New York, N.Y
Market Vision Inc.                                      10006-1705

212-306-0472                                             -74.0149W
------------------------------------------------------------------

A map of where I work....
http://www.mapquest.com/cgi-bin/mqpage?screen=wm_search&link=wm_view&...

2. Crontab

3. Any Body doing Apache + Netware + mod_proxy

4. Linux NIS Problems

5. apache newbie - simple question about mod_proxy

6. Java ??

7. mod_proxy & Apache 1.1.1

8. mkinitrd

9. Apache 1.3.20/mod_proxy not passing host headers

10. Doubling requests with Apache's mod_proxy

11. Caching /w Apache + mod_proxy

12. Apache and mod_proxy strange behaviour

13. Q: Apache 2.0 // mod_proxy