Rici Lake wrote:

On 31-Aug-04, at 10:41 PM, Ben Hopkins wrote:
...
I could be way out to lunch here, but what section of your site are you proxying?


mod_proxy causes any SetHandler in a proxied location to be ignored. In fact, it
causes any handler in a proxied location to be ignored, since it jumps in before
any handler runs.


_That_ makes a lot of sense, but I'll have to check out the question about "what section of your site are you proxying?" because I know nothing about proxying except that Zope needs it.

Here is the code from httpd.conf that deals with mod_proxy. I added the <Directory> statement on the advise of Apache Cookbook.

I also commented-out the line saying "Allow from .my.site" thinking that stopping proxying would stop this effect, but it didn't.

# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
<IfModule mod_proxy.c>
   ProxyRequests On

   <Directory proxy:*>
       Order deny,allow
       Deny from all
#       Allow from .my.site
       RewriteEngine On
       RewriteRule "^proxy:[a-z]*://[^/]*:25(/|$)" "-" [F,NC,L]
   </Directory>

#
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#
ProxyVia On


   #
   # To enable the cache as well, edit and uncomment the following lines:
   # (no cacheing without CacheRoot)
   #
   CacheRoot "/usr/local/apache/proxy"
   CacheSize 5
   CacheGcInterval 4
   CacheMaxExpire 24
   CacheLastModifiedFactor 0.1
   CacheDefaultExpire 1
   NoCache .my.site
</IfModule>
# End of proxy directives.

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to