« MT login really slow on Caduceus | Main | Table for mysql_robot2.py »
July 22, 2005
No proxy support for MT-Blacklist
I've been trying to get MT-Blacklist working on Caduceus but it refused to play ball because it couldn't download the initial blacklist from some website or other.
It appears this is because there is no proxy support roled into its LWP code.
I've hacked ../plugins/Blacklist/lib/Blacklist/App.pm
to contain the following after line 191 ..oh and 301...sloppy coding..:
my $proxy = new URI::URL('http://wwwcache.ncl.ac.uk:8080/');
my @no_proxy = ('medev.ac.uk','ncl.ac.uk');
$ua->proxy('http',$proxy);
$ua->no_proxy(@no_proxy);
$ua->timeout(20);
Now it works..
Hmmm.. Same problem in MT itself.. in lib/MT/App/CMS.pm
and lib/MT/App/Comments.pm
, which is weird coz they have support for proxies in the Trackback stuff.
Tags: Blogging
Posted by pj at July 22, 2005 01:35 PM