HTTrack Website Copier
Free software offline browser - FORUM
Subject: html error file created with jpg extension
Author: Dan
Date: 03/26/2003 22:39
 
html error file created by WinHTTrack Website Copier 3.29-
alpha-05 with a jpg extension
when httrack find this code in a menu
<option value="krazy001.jpg">Pages 001 &gt;&gt; 010</option>
as the jpg file doesn't exist in the folder (but in a 
subfolder added by a javascript routine ...)
it writes 
Warning: 	File has moved from www.coconino-
world.com/modules/krazykat/krazy001.jpg to 
<http://www.coconino-world.com/error01.htm>

and creates a html file linking to the error page :

<HTML>
<!-- Created by HTTrack Website Copier/3.29-alpha-05 
[XR&CO'2003] -->
<HEAD>
<TITLE>Page has moved</TITLE>
...

but it is saved with a jpg extension and thus cannot be 
read.
It does the same with all the option values.
In this case, the code tries to fool robots, but a 
redirection on error is common and errors are common too.
Would it be possible to find incoherence in option values 
or catch the error code (and redirection in .htaccess ?) 
and avoid many useless files in case of .htaccess 
redirections?
Regards
Dan
 
Reply


All articles

Subject Author Date
html error file created with jpg extension

03/26/2003 22:39
Re: html error file created with jpg extension

03/29/2003 15:42
Re: html error file created with jpg extension

03/30/2003 13:03




0

Created with FORUM 2.0.11