Difference between revisions of "Help:Linking to Bitsavers"

From Computer History Wiki
Jump to: navigation, search
(New page: Bitsavers is a popular and widely used resource. However, it has become something of a victim of its own success. The site is noticably very slow. Therefore, I've written something of a lo...)
(No difference)

Revision as of 05:32, 16 May 2007

Bitsavers is a popular and widely used resource. However, it has become something of a victim of its own success. The site is noticably very slow. Therefore, I've written something of a load balancer. So if you're going to link to bitsavers please use the redirect.php script.

(I'll put some more meat on this article soon, so for now I'm just pasting in the documentation from the script verbatim)

Usage: redirect.php?doc=(filename)&res=(resource)
The parameters (Passed via HTTP GET) are:
res
 Specifies the resource (currently, only "bitsavers" is valid)
doc
 Specifies the file to be fetched, without the first slash.
 For example, in the case of $res=="bitsavers" and $doc=="dec/pdp11/1145/EK-KB11A-MM-004_Aug76.pdf",
 the script will redirect via the HTTP header "location" to 
  
  http://bitsavers.org/pdf/dec/pdp11/1145/EK-KB11A-MM-004_Aug76.pdf
(Therefore, link to http://toresbe.dreamhosters.com/redirect.php?res=bitsavers&doc=path to document