Created
May 20, 2009 20:50
-
-
Save admc/115085 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# local windmill preferences file | |
# warning - this file will be overwritten by windmill | |
# so any edits should be done while windmill | |
# is not active. | |
import windmill | |
from windmill.server import add_forward_condition, remove_forward_condition | |
from windmill.server import proxy | |
proxy.exclude_from_retry.append('www.google-analytics.com') | |
#proxy.first_forward_domains.append('fb.community.monkey.labs.slide.com') | |
proxy.first_forward_domains.append('static.slide.com') | |
conditions= [ | |
lambda e: 'swf' not in e['reconstructed_url'] , | |
lambda e: 'mozilla.com' not in e['reconstructed_url'], | |
] | |
for c in conditions: add_forward_condition(c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment