in reply to Fundamental cgi-question

Probably not the best solution, but I have used a redirect.
<meta http-equiv="REFRESH" content="0;url=/cgi-bin/index.pl">

A server re-write would probably be the best solution.
Not sure I understood the question correctly.