http://www.domain.com/thedirectory/ => /cgi-bin/path/myscript.pl ('/') http://www.domain.com/thedirectory/foo => /cgi-bin/path/myscript.pl ('/foo') http://www.domain.com/thedirectory/foo/bar => /cgi-bin/path/myscript.pl ('/foo/bar') #### my JAPH: print"Just another Perl hacker\n"; # ^ look, no space! pretty tricky huh?