Hi...

You didn't tell us what server it was, so here are a couple of options, one Perl(ish) and one not...

  1. If you are running under apache, see if mod_rewrite is available - if so you need to ad a ReWriteRule into your .htaccess file... this can redirect one URI to another... just enter one rule per doc/target as needed - this saves the browser actually loading the docs.
  2. The Perl solution would be to use Win32::OLE to parse all of your documents looking at their Hyperlinks collections and selectively updting their targets.
  3. I'm sure IIS has some equivalent to mod_rewrite... but then again...

You've really not given us enough info to go on... (server type? number of files?) and your replies have been surprisingly helpful :-) - if none of the above sound good then I respectfully suggest manually opening the files and editing the links...

HTH - mark


In reply to Re: redirecting http in word docs by maa
in thread OT: redirecting http in word docs by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.