#!/bin/sh # scripts to redirect to alternative urls. # # its use is simple. first, make a hard link of this file to a uniquely # named file, then create an entry in the case block keyed to the filename # that sets the desired href. finally, use the newly linked file as an # href in a URL. # # please attempt to maintain some semblance of alphabetical order. case $0 in *swol-careercentral.cgi) href="http://www.careercentral.com/sw" ;; *swol-idg.net.cgi) href="http://www.idg.net" ;; *) href="http://www.sunworld.com" ;; esac echo "Content-TYPE: text/html" echo "Location: $href" echo exit 0