Referer validator script

Here's a script that would be nifty to have on the validation page, so
people can easily add validation to their pages without having to supply
an URL.

Maybe this script could end up in the validator's cgi-bin?

--- begin validate-referer --
  #!/bin/sh
  echo -e -n "Status: 302 Moved Permanently\n";
  echo -e -n "Content-Type: text/html\n";
  echo -e -n "Location:
  http://validator.w3.org/check?uri=${HTTP_REFERER}\n\n";
  echo -e -n "\n<A HREF=\"http://validator.w3.org/check?uri=${HTTP_REFERER}\">http://validator.w3.org/check?uri=${HTTP_REFERER}</A>\n\n";
--- end validate-referer --


Please respond also to my e-mail address, as I am not subscribed to this
list.

-- 
"I already have all the latest software."
     -- Laura Winslow, "Family Matters"

Dwayne C. Litzenberger - dlitz@cheerful.com

Advertising Policy: http://DLitzPower.tripod.com/spamoff.htm
GnuPG Public Key:   http://DLitzPower.tripod.com/gpgkey.asc
     Fingerprint:   0535 F7CF FF5F 8547 E5A5  695E 4456 FB6C BC39 A4B0

Received on Sunday, 31 October 1999 11:51:14 UTC