HTTrack Website Copier
Free software offline browser - FORUM
Subject: Cookie being mirrored as HTML file?
Author: vihkr
Date: 09/16/2003 20:44
 
Here is my command line for winhttack 3.23:
HTTrack3.23+swf launched on Tue, 16 Sep 2003 14:21:30 at
<http://XX.XXX.XXX.XXX/servlets/sfs?i=1061415216624&b=1061415216624&t=/Default/gateway&include=gateway>
+*.png +*.gif +*.jpg +*.css +*.js -ad.doubleclick.net/*
+*/servlets/sfs?*
(winhttrack -qwC2t%PnX0s0b0u0%sN1%I0p7BaK0H0%kf2A25000%f#f
-F "Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)" -%F
"<!-- Mirrored from %s%s by HTTrack Website Copier/3.x
[XR&CO'2003], %s -->" -%l "en, *"
<http://XX.XXX.XXX.XXX/servlets/sfs?i=1061415216624&b=1061415216624&t=/Default/gateway&include=gateway>
-O "C:\temp\XXX2\XXXXX_XXX","C:\temp\XXX2\XXXXX_XXX" +*.png
+*.gif +*.jpg +*.css +*.js -ad.doubleclick.net/*
+*/servlets/sfs?* -%A php3,php,php2,asp,jsp,pl,cfm=text/html )

/servlets/sfs is our servlet running in a Tomcat container.
Our system also creates a cookie that sets a value for
JSESSIONID that looks like this:
BDDA746E422AC1DDD603AD4248DA47B8

I had to turn purging off, and have tried this with 'accept
cookies' on and off (above example). What happens is that
instead of writing a cookie with the value JSESSIONID=
httrack creates an HTML file as the index of the mirrored
site after receiving a warning that the index has moved:

4:21:31 Warning:  File has moved from
XX.XXX.XXX.XXX/servlets/sfs?i=1061415216624&b=1061415216624&t=/Default/gateway&include=gateway
to
<http://XX.XXX.XXX.XXX/servlets/sfs;jsessionid=BDDA746E422AC1DDD603AD4248DA47B8?s=cpB9D4dbt3HynAUG1&i=1061415216624&b=1061415216624&t=/Default/gateway&include=gateway>
14:21:32 Info:  engine: transfer-status: link added:
66.207.210.165/servlets/sfs;jsessionid=BDDA746E422AC1DDD603AD4248DA47B8?s=cpB9D4dbt3HynAUG1&i=1061415216624&b=1061415216624&t=/Default/gateway&include=gateway
->
C:/temp/XXX2/XXXXX_XXX/web/images/sfs;jsessionid=bdda746e422ac1ddd603ad4248da47b8f339.html

Your software is the only one that will read and mirror our
software's dynamically generated site output. How can I fix
this? What am i doing wrong?
 
Reply


All articles

Subject Author Date
Cookie being mirrored as HTML file?

09/16/2003 20:44
Re: Cookie being mirrored as HTML file?

09/16/2003 23:07
Re: Cookie being mirrored as HTML file?

09/18/2003 16:15
Re: Cookie being mirrored as HTML file?

09/18/2003 21:02




3

Created with FORUM 2.0.11