Re: Best practise to add SOCKS proxy support?

2009-08-25 Thread Oleg Kalnichevski
On Tue, Aug 25, 2009 at 01:25:21AM +0200, Peter Paul wrote: On Mon, 24 Aug 2009 10:35:09 +0200 Oleg Kalnichevski ol...@apache.org wrote: On Sun, Aug 23, 2009 at 11:57:56PM +0200, Peter Paul wrote: Hello, I'm about add SOCKS proxy support to an application that uses HttpClient and

Re: How to configure mod_jk+loadbalance+https in Apache 2.2

2009-08-25 Thread sebb
On 25/08/2009, viola.lu viola...@gmail.com wrote: Hi, i am setting Apache https forward and loadbalance with mod_jk on tomcat, /etc/httpd/config/httpd.conf as below: This is the wrong mailing list. Please direct your question to the httpd user list, see:

Re: Downloading HTML frameset pages via HTTPClient

2009-08-25 Thread melroyr
Ken, Thanks for your response. If you look at the source at http://flyer.harristeeter.com/HT_eVIC/ThisWeek/ReviewAllSpecials.jsp?ToCat=0 thru 13, the page changes its content. However downloading the same pages thru HTTPClient, I get a message that says the browser does not support framesets and

Re: Downloading HTML frameset pages via HTTPClient

2009-08-25 Thread Ken Krugler
Hi Melroyr, On Aug 25, 2009, at 3:19am, melroyr wrote: Ken, Thanks for your response. If you look at the source at http://flyer.harristeeter.com/HT_eVIC/ThisWeek/ReviewAllSpecials.jsp?ToCat=0 thru 13, the page changes its content. However downloading the same pages thru HTTPClient, I get a

Re: Downloading HTML frameset pages via HTTPClient

2009-08-25 Thread Oleg Kalnichevski
On Tue, Aug 25, 2009 at 06:30:40AM -0700, Ken Krugler wrote: Hi Melroyr, On Aug 25, 2009, at 3:19am, melroyr wrote: Ken, Thanks for your response. If you look at the source at http://flyer.harristeeter.com/HT_eVIC/ThisWeek/ReviewAllSpecials.jsp?ToCat=0 thru 13, the page changes its

Re: Downloading HTML frameset pages via HTTPClient

2009-08-25 Thread melroyr
I added a cookie with name StoreNumberCK value=100 domain=flyer.harristeeter.com and path=/HT_eVic/ThisWeek/ but I still get the noframeset supported Any help will be much appreciated. melroyr wrote: I have written a program to download html pages from harristeeter. However, when I run my

Re: Downloading HTML frameset pages via HTTPClient

2009-08-25 Thread Ken Krugler
Assuming you set up the cookie properly, then one other idea is making sure the user agent is set to something expected/believable. I added a cookie with name StoreNumberCK value=100 domain=flyer.harristeeter.com and path=/HT_eVic/ThisWeek/ but I still get the noframeset supported I don't

Re: Downloading HTML frameset pages via HTTPClient

2009-08-25 Thread melroyr
I have no idea how to set the user agent in HTTPClient melroyr wrote: I have written a program to download html pages from harristeeter. However, when I run my program, I get the following !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Frameset//EN http://www.w3.org/TR/html4/frameset.dtd;

Re: Downloading HTML frameset pages via HTTPClient

2009-08-25 Thread Ken Krugler
On Aug 25, 2009, at 3:39pm, melroyr wrote: I have no idea how to set the user agent in HTTPClient The (really good) on-line documentation is your friend. http://hc.apache.org/httpcomponents-client/tutorial/html/ -- Ken melroyr wrote: I have written a program to download html pages