Re: How do I make two different web pages come up from one CGI?

2005-08-04 Thread Luinrandir
: Re: How do I make two different web pages come up from one CGI? On Wed, 3 Aug 2005, Luinrandir wrote: The following does not work Define does not work. It seems to work for me: $ lynx -mime_header http://localhost/test.pl HTTP/1.1 200 OK Date: Thu, 04 Aug 2005 00:49:32 GMT

Re: How do I make two different web pages come up from one CGI?

2005-08-04 Thread David Dorward
On Wed, Aug 03, 2005 at 10:45:35PM -0700, Luinrandir wrote: I want to create two web pages in two different windows from one CGI. Each request gives one file, that's how HTTP works. You will need at least two requests, with the script running twice (or two scripts running once each). You can

Re: How do I make two different web pages come up from one CGI?

2005-08-04 Thread Wiggins d'Anconia
David Dorward wrote: On Wed, Aug 03, 2005 at 10:45:35PM -0700, Luinrandir wrote: I want to create two web pages in two different windows from one CGI. Each request gives one file, that's how HTTP works. You will need at least two requests, with the script running twice (or two scripts

How do I make two different web pages come up from one CGI?

2005-08-03 Thread Luinrandir
The following does not work #!/usr/bin/perl use strict; print qq|Content-type: text/html\n\n|; print qq|HTMLHEADTITLESeneschals Report/TITLE/HEADBODY|; print qq|1|; print qq|/body/html|; print qq|Content-type: text/html\n\n|; print qq|HTMLHEADTITLESeneschals Report/TITLE/HEADBODY|; print

Re: How do I make two different web pages come up from one CGI?

2005-08-03 Thread Chris Devers
On Wed, 3 Aug 2005, Luinrandir wrote: The following does not work Define does not work. It seems to work for me: $ lynx -mime_header http://localhost/test.pl HTTP/1.1 200 OK Date: Thu, 04 Aug 2005 00:49:32 GMT Server: Apache/1.3.33 (Darwin) mod_perl/1.29 Connection: