#!/bin/sh # cgi-bin for traceroute - v1.4b - new links added Apr 17th 1996 # July,Dec 1995 by Laurent Demailly - dl@hplyot.obspm.fr # infos,... on http://hplyot.obspm.fr/~dl/wwwtools.html # Free software - GNU GPL - AS IS, NO WARRANTY... # please keep author's (my) reference... # note: using ncsa server, it is recommended to name the script # "nph-something", like nph-traceroute so outputs come as it is # done and not at the end. # configure the following according to your place : # place name: PLACENAME="Observatoire de Paris à Meudon (France)" # traceroute full path (unix path): TRACEROUTE=/usr/local/bin/traceroute # this script relative url (absolute would work too) SCRIPTURL=/cgi-bin/nph-traceroute # an icon to use as back to your home page BACK2TOPICON=/icons/house.gif # the icon width ICONWIDTH=48 # the icon height (use xv for instance to check sizes) ICONHEIGHT=48 # you are going to use this script, please drop a mail to
nice $TRACEROUTE "$1" 2>&1 echo \fi else echo Cannot find traceroute on this system. fi cat << EOM