-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Griffin wrote:
> Hey guys,
> First off, I am not subscribed to the list, so please CC me to any
> responses.
> 
> I am having a little difficulty mirroring a drupal site using either
> wget _or_
> httrack. Both give me the same results, which leads me to believe it is
> a drupal
> issue.
> 
> The problem set: I am mirroring a static copy of a drupal site that I do
> not
> have control over. Using a basic html mirror everything works fine, but
> a huge
> majority of the stylesheet links are NOT downloaded, but instead are
> rewritten
> with the mirrored domain prefix. For example:
> 
> <link type="text/css" rel="stylesheet" media="all"
>     href="/modules/node/node.css?p" />
> 
> becomes
> 
> <link type="text/css" rel="stylesheet" media="all"
>     href="http://original.domain.com/modules/node/node.css?p"; />
> 
> and the original file is not downloaded at all. Both wget and httrack
> behave the
> exact same way.
> 
> My initial guess is that it has to do with the trailing ?p, but I
> sincerely hope
> not, as it's fairly common now-a-days to suffix versions. In order to
> check, is
> there a way to shut that off?

I doubt it has anything to do with the ?p, but it's really impossible to
say.

I'm afraid you really haven't provided enough information to help you
much; at a minimum, the version of Wget you are using, the relevant
contents  of your .wgetrc file, and the command-line invocation you are
using, are generally required in order for us to help you find your
problem. A log from your invocation with the --debug flag may also be
quite helpful.

The fact that link conversions are done at all indicate that you gave
Wget the -k flag (or equivalent); the fact that it was converted to an
external link indicates that Wget explicitly chose not to download the
file based on the options you gave it (or, possibly, was unable to for
some reason).

In that case, why not invoke wget with the --debug flag, and use the
pointers at
http://wget.addictivecode.org/FrequentlyAskedQuestions#not-downloading
to diagnose why the file isn't being downloaded.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1X0v7M8hyUobTrERAqrgAJ9Q4AcG68h73TuhKC85UMCs8nt9rgCbBKLl
Vp7xpDEhmRW6b0Ym6XldQow=
=46g0
-----END PGP SIGNATURE-----

Reply via email to