As a beginner, I'm going nuts trying to do something in a .cgi program that 
should be trivial:

I need to do an  if(condition) load a .html, or load unless(condition).
or, in another case, when a certain .cgi is called, have it immediately 
load a new .html.

I use an isp service running Apache, and CGI.pm is installed, but there is 
no possibility to install any other modules.

I've found in books the following and played with nearly every permutation:

     #Location: http://www.dmatca6.org;
     #URI: http://www.dmatca6.org;

     #$url = "http://www.dmatca6.org";;
     #print "Location: $url\n\n";
     #exit;
        
     #print redirect("../index.html");

#header( -Refresh => "1; URL = http://www.dmatca6.org/index.html"; );
#print("<meta http-equiv='refresh' content='1'; 
URL='http://www.dmatca6.org'>");

Nothing works.  I clearly don't know what I'm doing.  It is really 
infuriating not being able to do such a seemingly simple task!  I'm buying 
the beer if you can help.

Thanks, Walt.

Reply via email to