According to Geoff Hutchison:
> On Tuesday, January 7, 2003, at 04:51  PM, Jessica Biola wrote:
> > Anyhow, my plan is to use htdig with local_urls and
> > local_urls_only -- but it seems to have problems
> > pulling up documents that are named like this:
> > item.cgi?id=1 or item.cgi?id=10&cata=denim
> ...
> > I get something like this:
> > So htdig finds the file, but then it says local
> > retrieval failed.  Are there any known issues with
> > pulling files with CGI variables in the names?
> 
> No, but I don't know of anyone else who's reported trying it either. 
> What OS are you using? Some OS and/or filesystems have problems with 
> certain characters in filenames, and certainly ? and & characters are 
> among them.
> 
> Personally, I'd rather try using an HTTP proxy to handle local 
> storage--you can still use wget to "prefetch" things through the proxy, 
> but the proxy would be better able to handle file retrieval and issues 
> like dynamic content on the remote server.
> 
> That said, I'd still qualify this as a bug, so it would help to get more 
> information about your setup.

The problem here is that the resulting local files don't have the file
name extensions that the local_urls handling code expects.  Without these
extensions, htdig has no way of identifying what the content-type of
each file is.  See the list of recognized file name extensions for
local access:

http://www.htdig.org/attrs.html#local_urls

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to