https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12620
--- Comment #11 from David Cook <[email protected]> --- Adam inspired me to test this, and I got a proof-of-concept working in Docker using a Squid proxy. Here are the steps if someone wants to reproduce my efforts: Windows: 1. docker pull sameersbn/squid:3.5.27-2 2. docker run --name squid --publish 3128:3128 sameersbn/squid:3.5.27-2 3. docker cp squid:/etc/squid/squid.conf ./squid.conf.default 4. cp ./squid.conf.default ./squid.conf 5. sed -i 's/http_access deny all/http_access allow all/' ./squid.conf 6. sed -i 's/http_access deny CONNECT/http_access allow CONNECT/' ./squid.conf 7. docker stop squid 8. docker rm squid 9. docker run --name squid --publish 3128:3128 --volume "/$(PWD)/squid.conf:/etc/squid/squid.conf" --net koha_kohanet sameersbn/squid:3.5.27-2 Koha container: 1. http_proxy=squid:3128 curl -v https://www.google.com 2a. yaz-client connect:squid:3128,tcp:lx2.loc.gov:210 2b. base LCDB 2c. find test 2d. show 1 3a. Use ZOOM in a Perl script to connect to Squid proxy 3b. This works (shows 10000 results connecting to LOC LCDB database and searching for as title of ‘test’) 3c. Script included below* * #!/usr/bin/perl use ZOOM; my $conn = new ZOOM::Connection('connect:squid:3128,tcp:lx2.loc.gov:210'); $conn->option( databaseName => 'LCDB' ); my $rs = $conn->search_pqf('@attr 1=4 test'); my $n = $rs->size(); warn $n; -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
