wget mirror question



I am working at a school with recently acquired Internet access but
with very poor bandwidth. We have a network with many computers but
if we allowed all computers to access the Internet concurrently it
would be worthless.

I would like to create an internal mirror (updated nightly) of several
news sites that are commonly accessed though. I have tried using
wget, and it works well except that I am having problems with URL's.
In my local mirror copy of a page, the URL's do not match up. Can
someone help me with the proper arguments for wget (or curl I suppose)
to get this working?

My ideal end product is a directory structure something like this:
/mirror
/mirror/cnn
/mirror/bbc
/mirror/chicagotribune

With each news site being dumped into its respective directory
(recursing one level deep). I can get that all working fine and
loaded up in apache but when I click a link from one of the mirrored
pages, the relative URL is wrong since my directory structure will
always be different.

Would appreciate any help on this or alternative solutions. Thanks.

.



Relevant Pages

  • The Microsoft Way (OT)
    ... programmers generally know a lot about computers. ... For years I have been deprived from REAL access to the internet. ... I have found bugs, but most ... can even get their computers running at all. ...
    (alt.lang.asm)
  • Re: How to stop OE6 from multithreading on the news server? - another problem
    ... > from the Internet and nothing can find my computer on the Internet ... The Dial-Up Networking monitor would give you related statistics. ... computers too over a dialup connection. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: [OT] Note to aue/AUE/a.u.e., etc.
    ... Why should ordinary users of computers and the Internet have to put up with these things? ... Spamforth who set the wheels in motion. ...
    (alt.usage.english)
  • Cuba: Freedom on the Net 2011 - Freedom House
    ... Despite a slight loosening of restrictions on the sale of computers in 2008 and the important growth of mobile-phone infrastructure in 2009 and 2010, Cuba remains one of the world’s most repressive environments for the internet and other information and communication technologies. ... Nevertheless, a growing community of bloggers has consolidated their work, creatively using online and offline means to express opinions and spread information about conditions in the country. ... The sale of modems was banned in 2001, and the sale of computers and computer accessories to the public was banned in 2002. ...
    (soc.culture.cuba)
  • Cyber Warfare
    ... Defences against cyberwarfare are still rudimentary. ... Yes-unless the attacks came over the internet. ... hackers out of important government computers. ...
    (soc.culture.china)