Description
Missing some documentation on HelpOnConfiguration/SurgeProtection
on section Big proxy or firewall have to specify to configure proxies_trusted in request/init.py
Steps to reproduce
- put your wiki behind a proxy
- some time, without heavy access from your browser, you get
Warning: You triggered the wiki's surge protection by doing too many requests in a short time. Please make a short break reading the stuff you already got. When you restart doing requests AFTER that, slow down or you might get locked out for a longer time!
Example
HelpOnConfiguration/SurgeProtection
Component selection
request/init.py
Details
Documentation in This Wiki.
MoinMoin Version |
1.6.3 |
OS and Version |
Linux Fedora 8 |
Python Version |
2.4 |
Server Setup |
fcgi |
Server Details |
farmconfig |
Language you are using the wiki in (set in the browser/UserPreferences) |
Italiano |
Workaround
- log in, then moin uses your name, not your (proxies) IP
(you have to edit request/init.py and insert your proxy in proxies_trusted = [] and uncomment the line)
Discussion
Enabling proxy support code is not directly related to surge protection, it just helps moin to determine the client ip (which is good for SP, too, but also for RecentChanges, info action and all other stuff that is dealing with client IP addresses).
That proxy support code is rather a hack anyway (this is why you have to edit src code), so I guess this is the reason why there is no separate help page for it, but just some notes in CHANGES.
There is currently a SOC project doing WSGI and server/request code refactoring. Hopefully the proxy support code will be configurable by some config afterwards and then we'll have some help page about it, too.
Plan
- Priority:
- Assigned to:
- Status: