Revision 1 as of 2007-04-01 23:08:48
converted to 1.6 markup
|Deletions are marked like this.||Additions are marked like this.|
|Line 19:||Line 19:|
|Here is the issue: [http://issues.apache.org/jira/browse/HTTPCLIENT-334]||Here is the issue: [[http://issues.apache.org/jira/browse/HTTPCLIENT-334]]|
Running Nutch with SOCKS proxy
Created by Vinh Khuc Ngoc
Running Nutch with SOCKS proxy is necessary in some situations, but Apache Http Client 3.0 still doesn't support SOCKS.
Since SOCKS protocol is supported in JDK 1.4.2, there is a "quick and dirty" way to make Nutch work with SOCKS, that is adding properties socksProxyHost and socksProxyPort when we call JVM in bin/nutch script:
exec "$JAVA" -DsocksProxyHost=<host> -DsocksProxyPort=<port> $JAVA_HEAP_MAX $NUTCH_OPTS -classpath "$CLASSPATH" $CLASS "$@"
Just keep waiting for Apache Http Client 4.0 with SOCKS support.
Here is the issue: http://issues.apache.org/jira/browse/HTTPCLIENT-334