Thank you, gerrygerry
Unfortunately, the redirection on my site is not made by me but by formmail.cgi, which I use to send an email to me when a user hits my site. The only lines in index.html are as follows:
<html>
<head>
<script type="text/javascript" language="JavaScript">
<!--
function GetCookie(name) {
//... the usual stuff
}
function InitializeForm() {
document.notify.realname.value = visitorname;
document.notify.email.value = visitoremail;
document.notify.submit();
}
var visitorname = GetCookie('visitorname');
var visitoremail = GetCookie('visitoremail');
// -->
</script>
</head>
<body onload="InitializeForm();">
<form name="notify" action="
method="POST">
<input type=hidden name="recipient" value="engcomp@ozemail.com.au">
<input type=hidden name="subject" value="notify main">
<input type=hidden name="redirect" value="
<input type=hidden name="email" value="noEmail">
<input type=hidden name="realname" value="noName">
<input type=hidden name="env_report" value="REMOTE_HOST,REMOTE_ADDR,REMOTE_USER,HTTP_USER_AGENT,HTTP_REFERER">
</form>
</body>
</html>
Now, it I could find a form2email.cgi script that doesn't insist on sending a "thank-you" page, I could put this hidden form in the main.html and make the main.html the site's index.html, because the email would be sent without any attempt to generate a page.
Any ideas? Thanks again, Helmut