[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV (no subject) [ Recursive CGI ]
From: |
David Woolley |
Subject: |
Re: LYNX-DEV (no subject) [ Recursive CGI ] |
Date: |
Thu, 28 Aug 1997 23:44:08 +0100 (BST) |
The two levels of CGI are confusing. I presume you are trying to
generate a Lynx view of the web for GUI browsers.
>
> Of course I have try to run at telnet as nobody user, and all
> work fine, seems like the error is only when the call to lynx to
> call a cgi is done inside other cgi.
There is nothing in the protocol that would allow you to distinguish
between a file and CGI generated response, so this is meaningless.
What do you mean (in terms of the headers received) by the distinction
between a CGI response and a non-CGI one? (You are unlikely to get
a Last-Modified-Date: in a CGI response, but it is not impossible, and
you may not always get a Content-Length, although I think you normally
do. Doing POST to a file is unlikely to produce a 200 response, but it
may well return a file.)
> lynx -dump http://www.interec.com > myfile
> works fine, but not
> /usr/bin/lynx -dump http://www.interec.com > myfile
Maybe lynx isn't /usr/bin/lynx.
Maybe it is but run through an alias, or script, which, say, defines
http_proxy.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;