Re: [Zope] When to use trusted-proxy?
Am Dienstag, 14. Oktober 2003 12:43 schrieben Sie:
Hi Florian,
Florian Lindner wrote:
Hello, should I set the trusted-proxy in Zope 2.7 to 127.0.0.1 when using Apaches Proxy module? Should I also set it, when using only RewriteRules and no ProxyModule? Thanks, Florian
If your RewriteRule uses [P] at the end, you are using the mod_proxy as well. (See documentation) I'm pretty sure you are using apache this way, since it is the common way and the described way if it comes to frondending of zope.
When I use rewrite rules and omit the [P] I don't use a proxy (that's the way I plan to use it) . Is using trusted-proxy still making sense in this case?
So, you _may_ use the trusted-proxy directive, but you don't have too. If you don't do any authentication based on the IP of the remote user or want to take care of Zopes own logfile, you dont need it.
Regards Tino Wildenhain
Bye, Florian
Hi Florian, Florian Lindner wrote:
Am Dienstag, 14. Oktober 2003 12:43 schrieben Sie:
Hi Florian,
Florian Lindner wrote:
Hello, should I set the trusted-proxy in Zope 2.7 to 127.0.0.1 when using Apaches Proxy module? Should I also set it, when using only RewriteRules and no ProxyModule? Thanks, Florian
If your RewriteRule uses [P] at the end, you are using the mod_proxy as well. (See documentation) I'm pretty sure you are using apache this way, since it is the common way and the described way if it comes to frondending of zope.
When I use rewrite rules and omit the [P] I don't use a proxy (that's the way I plan to use it) . Is using trusted-proxy still making sense in this case?
Of course not. In fact, then you arent using apache at all for your content. You will connect all your clients directly to your Zope instance then. Why do you want to do that? Regards Tino
participants (2)
-
Florian Lindner -
Tino Wildenhain