Dan Jacobson <[EMAIL PROTECTED]> writes:
> There are too many sites where I have ended up caching 1/2 the site
> under site.com, the other under www.site.com. As an example you can
> access my http://jidanni.org/ both ways and when you are later
> browsing offline, you will never notice that you have already fetched
> a file in the other half.
>
> Yes, I know it is the responsibility of the website to do this mapping
> if it wishes. But, how short of I suppose. hand made symlinks in
> $wwwoffle_cache/http/* perhaps can I tell wwwoffle to map all these to
> the same single representation?
You can use the Alias section of the configuration file, but you can't
do it automatically for all servers.
Alias
{
http://site.com/* = http://www.site.com/
}
The URLs 'http://site.com/' and 'http://www.site.com/' are different
and may refer to different data although often they don't. The same
with the URLs 'http://site.com/' and 'http://site.com/index.html',
they are different URLs and may be different data.
> That's for future fetched. And what about stuff already in the cache?
> How shall one merge them?
You can try to use wwwoffle-mv, but it is a bit of a hack as described
in the README file.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html