HTTrack Website Copier
Free software offline browser - FORUM
Subject: CSS & JS updated with abs. path /
Author: Michael
Date: 08/18/2003 13:58
 
The server to be mirrored contains two or three style 
sheets.

The download of the mirror is 100% successfull, but when 
brouwser through the mirror, the mirror looks for files 
like: 
C:\cfg\splash.html, in stead of: 
C:\My Web Sites\AP-600\172_27_6.53\cfg\splash.html

This is because in the .JS and .CSS file the path's are 
absolute and not relative. Abosulte like: 
grp[1] = new Link("cfg","Configure","/cfg/splash.html");

Should maybe: 
grp[1] = new Link("cfg","Configure","C:\My Web Sites\AP-600
\172_27_6.53\cfg\splash.html");

Checked documenation and forum, couldn't find the answer. 
Thread "links to non-html file" seems to address similar 
situation, but different cause.

Anyone any clue how to correct this? Can WinHTTrack do the 
job?
Many thanks.
Michael
Proxim
The Netherlands

*********************************
LOG file for your help
*********************************
TTrack3.23+swf launched on Mon, 18 Aug 2003 13:31:00 
at :public@172.27.64.53/index.html :public@172.27.64.53/cfg/
splash.html :public@172.27.64.53/mon\splash.html :public@172
.27.64.53/cmd\splash.html +*.png +*.gif +*.jpg +*.css 
+*.js -ad.doubleclick.net/*

(winhttrack -qiC2%Ps2u1%sN104L2%I0p3DaK0H0%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, 
*" :public@172.27.64.53/index.html :public@172.27.64.53/cfg/
splash.html :public@172.27.64.53/mon\splash.html :public@172
.27.64.53/cmd\splash.html -O "C:\My Web Sites\AP-
600","C:\My Web Sites\AP-600" +*.png +*.gif +*.jpg +*.css 
+*.js -ad.doubleclick.net/* -%A 
php3,php,php2,asp,jsp,pl,cfm=text/html )



Information, Warnings and Errors reported for this mirror:

note:	the hts-log.txt file, and hts-cache folder, may 
contain sensitive information,

	such as username/password authentication for 
websites mirrored in this project

	do not share these files/folders if you want these 
information to remain private



13:31:04	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/mon/splash.html -> C:/My Web 
Sites/AP-600/172_27_6.53/splash-2.htm

13:31:04	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/splash.html -> C:/My Web 
Sites/AP-600/172_27_6.53/splash.htm

13:31:05	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cmd/splash.html -> C:/My Web 
Sites/AP-600/172_27_6.53/splash-3.htm

13:31:05	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/index.html -> C:/My Web 
Sites/AP-600/172_27_6.53/index.htm

13:31:07	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/scripts/library.js -> 
C:/My Web Sites/AP-600/172_27_6.53/js/library.js

13:31:07	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/scripts/test.js -> 
C:/My Web Sites/AP-600/172_27_6.53/js/test.js

13:31:08	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/bg.gif -> C:/My 
Web Sites/AP-600/172_27_6.53/gif/bg.gif

13:31:08	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/edge.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/edge.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/scripts/menu.js -> 
C:/My Web Sites/AP-600/172_27_6.53/js/menu.js

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/logo.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/logo.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/iedge.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/iedge.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/spacer.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/spacer.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/topleft_corner.gi
f -> C:/My Web Sites/AP-600/172_27_6.53/gif/topleft_.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/top_line.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/top_line.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/topright_corner.g
if -> C:/My Web Sites/AP-600/172_27_6.53/gif/topright.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/left_line.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/left_lin.gif

13:31:09	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/select.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/select.gif

13:31:10	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/deselect.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/deselect.gif

13:31:10	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/delete.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/delete.gif

13:31:10	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/right_line.gif -
> C:/My Web Sites/AP-600/172_27_6.53/gif/right_li.gif

13:31:10	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/bottomleft_corner
.gif -> C:/My Web Sites/AP-600/172_27_6.53/gif/bottomle.gif

13:31:10	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/bottom_line.gif -
> C:/My Web Sites/AP-600/172_27_6.53/gif/bottom_l.gif

13:31:10	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/bottomright_corne
r.gif -> C:/My Web Sites/AP-600/172_27_6.53/gif/bottomri.gif

13:31:10	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/setupwiz/setup-intro.html -> 
C:/My Web Sites/AP-600/172_27_6.53/setup_in.htm

13:31:10	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/if-wirA-detect.html -> 
C:/My Web Sites/AP-600/172_27_6.53/if_wira_.htm

13:31:11	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/system.html -> C:/My Web 
Sites/AP-600/172_27_6.53/system.htm

13:31:11	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/net-ipconf.html -> C:/My 
Web Sites/AP-600/172_27_6.53/net_ipco.htm

13:31:12	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/mgt-passwords.html -> 
C:/My Web Sites/AP-600/172_27_6.53/mgt_pass.htm

13:31:12	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/alarm-groups.html -> 
C:/My Web Sites/AP-600/172_27_6.53/alarm_gr.htm


(..................)

13:31:31	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/color-green.gif -
> C:/My Web Sites/AP-600/172_27_6.53/gif/color_gr.gif

13:31:31	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/color-
yellow.gif -> C:/My Web Sites/AP-
600/172_27_6.53/gif/color_ye.gif

13:31:31	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/color-red.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/color_re.gif

13:31:32	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/addedit/wds-edit.html -> 
C:/My Web Sites/AP-600/172_27_6.53/wds_edit.htm

13:31:32	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/tab_tile.gif -> 
C:/My Web Sites/AP-600/172_27_6.53/gif/tab_tile.gif

13:31:32	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/tab-
linktest.gif -> C:/My Web Sites/AP-
600/172_27_6.53/gif/tab_link.gif

13:31:32	Info: 	engine: transfer-status: link 
added: :public@172.27.64.53/orinoco/images/button-
close.gif -> C:/My Web Sites/AP-
600/172_27_6.53/gif/button_c.gif

13:31:32	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/setupwiz/setup-ifconf.html -> 
C:/My Web Sites/AP-600/172_27_6.53/setup_if.htm

13:31:32	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/cfg/if-wirA-11a.html -> C:/My 
Web Sites/AP-600/172_27_6.53/if_wira_-5.htm

13:31:33	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/setupwiz/setup-ifconfB.html -
> C:/My Web Sites/AP-600/172_27_6.53/setup_if-2.htm

13:31:33	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/setupwiz/setup-A-A.html -> 
C:/My Web Sites/AP-600/172_27_6.53/setup_a_.htm

13:31:33	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/setupwiz/setup-B-A.html -> 
C:/My Web Sites/AP-600/172_27_6.53/setup_b_.htm

13:31:33	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/setupwiz/setup-A-B.html -> 
C:/My Web Sites/AP-600/172_27_6.53/setup_a_-2.htm

13:31:34	Info: 	engine: transfer-status: link 
updated: :public@172.27.64.53/setupwiz/setup-B-B.html -> 
C:/My Web Sites/AP-600/172_27_6.53/setup_b_-2.htm


HTTrack mirror complete in 34 seconds : 117 links scanned, 
115 files written (505550 bytes overall) [564402 bytes 
received at 16600 bytes/sec]

(1 errors, 0 warnings, 239 messages)


 
Reply


All articles

Subject Author Date
CSS & JS updated with abs. path /

08/18/2003 13:58
Re: CSS & JS updated with abs. path /

08/24/2003 15:17




1

Created with FORUM 2.0.11