in reply to Fundamental cgi-question

Here is a simple index.html example that redirects a user's request for index.html to your script:
<html> <head> <script language="javascript"> <!-- location.replace('http://server.name/your/script'); // --> </script> </head> <body>This site requires javascript.</body> </html>