W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1996

Redirect Syntax!!

From: Vasu <sairam@npac.syr.edu>
Date: Thu, 10 Oct 1996 20:44:42 -0400 (EDT)
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <Pine.3.89.9610102039.A8429-0100000@nova.npac.syr.edu>

SaiRam!!

Can someone tell me how to make my CGI program redirect to another 
location instead of the one that is executing this script? 

I don't seem to be ablt to do it with just a 
printf(toClient, "Location: http://npac.syr.edu/somepage.html");
and writing toClient to the client.

Do I need to have "Content-type: text/html" also! Can anyone point me to 
some examples of how you achieved redirection using HTTP headers?

Any help is very much appreciated.

SaiRam!
+--------------------------------------------------------------------------+
|               Money comes and goes, Morality comes and grows             |
|                                        - Bhagawan Sri Satya Sai Baba     |
+--------------------------------------------------------------------------+
Received on Thursday, 10 October 1996 17:50:11 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:15 EDT