[Zope] RE: accessing REMOTE_ADDR
Tue, 2 Oct 2001 15:02:39 +0100
You can use apache rewrite rules when virtual hosting Zope instances and as
far as I know, it works just the same as having a direct conection to the
Zope Instance... Unlike proxying, the zope instance should reply directly to
the client so it must have access to their ip address....
There is some documentation about, but this is an extract of what we use...
The Zope instance has a Virtual Host Monster in its root to enable all this
to work properly.
Apache rewrite rule:
RewriteRule ^/error/(.*)$ /error/$1 [L])
ErrorDocument 502 /yourerrordocument
CustomLog /yourlogs/access_log combined
I think you should just be able to fill that in and off you go...