Re: [zope-dev] Using db_connections from Zope products

2001-06-20 Thread William Noon
In both products and External methods I do something like the following: def get_product(self, trans_id) : database = getattr(self, 'product_DA')# product_DA is the database res = database().query( # adaptor "select * from product_log where

[Zope-dev] ProxyPass and SiteAccess getting REMOTE_ADDR

2001-02-12 Thread William Noon
Last week I was setting up an Apache VirtualHost to point to a Zope object tree using the ProxyPass directive and SiteAccess to get all the urls right (great stuff!). However, I noticed that the REMOTE_ADDR was always set to the proxy host. This makes sense because Zope just gets the host/port