Link to home
Start Free TrialLog in
Avatar of astar666
astar666Flag for United States of America

asked on

cgi force display of static page

I have some cgi that emails a forms contents.  At the end of the cgi, I want to force a static page to load.  I do not want to emit the static page's content, but I want to force the static page to come up next.  How do I do this?
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of astar666

ASKER

Hmm, I still need some help.  One problem is the ambiguity of the above due to langage and line length.  I am in python.  Here is the line I am using.  We will see if it fits in the box.

print "Status: 302 Moved Location: http://www.tacomaliteracy.org/tutorregsubmited.html"

No does not fit.  But it is intended to be one line.  This give me:

Moved Location: http://www.tacomaliteracy.org/tutorregsubmited.html

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.46 (White Box) Server at www.tacomaliteracy.org Port 80

Suggestions?
"Status: 302 Moved"                                                                    Should be the 1st line printed
"Location: http://www.tacomaliteracy.org/tutorregsubmited.html"  Should be the 2nd line printed

Then there should be a blank line printed