bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Q: about wget and the ability to do pre/post fetch proces


From: Ángel González
Subject: Re: [Bug-wget] Q: about wget and the ability to do pre/post fetch processing.
Date: Sun, 01 May 2011 01:24:13 +0200
User-agent: Thunderbird

Dave Osbourne wrote:
> I want to mirror a site.  The front end URL has changed from a simple  
> http://www.xyz.com/  to   http://www.xyz.com/index.done.php/ 
> The site is all there still, but now each URL in the site needs to be changed 
> to reflect this additional PHP script.  So, after each fetch of a page, I 
> need to process each URL to add this 'index.done.php/'.
> Is this possible with wget in some way?  If this is the wrong forum to ask, 
> please point me to the correct wget emailing list.  I was unable to find any 
> other than address@hidden
> Thank you kindly.
You mean that the original site is http://www.xyz.com/ but the url in
the mirror shall be http://www.xyz.com/index.done.php/ ?

I had a hard time trying to find out what was the problem. If the site
changed the urls, the mirrors should just follow. You
could move the previously available files or use a .htaccess to make
things easier, though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]