W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October 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>
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/1759

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 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:00 UTC