[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WN, $PATH_INFO in CGI scripts, and the Web Standard



On Tue, 5 Nov 1996, Bruce Perens wrote:

bruce >From: Christoph Lameter <clameter@waterf.org>
bruce >> That is what I patched into WN. Nothing to do with WN. I thought that the
bruce >> behavior must be changed to allow cgi-bin/debian/scriptname
bruce >
bruce >Do you mean you patched it to make PATH_INFO work? I didn't parse the
bruce >above sentence clearly.

No. I patched wn to make paths like cgi-bin/debian/script work and in the
process naturally broke PATH_INFO for paths that do not include a ?
separator. I did not realize that the man2html
problem was connected to the issue with PATH_INFO.

I need that cgi-bin script that does redirection to implement
cgi-bin/debian with wn. A symlink evidently wont do it and patching the
server breaks other things.

bruce >bruce >Under WN you can make any file a CGI script, wherever it lives.
bruce >bruce> Just put
bruce >bruce >	File=Foo
bruce >bruce >	Attribute=cgi
bruce >
bruce >> That is not true. You can have the CGI environment prepared for parsing a
bruce >> document but not for executing a script.
bruce >
bruce >Right. More document reading... Put this in the index:
bruce >
bruce >	File=Foo
bruce >	Attribute=cgi
bruce >	Includes=!Foo.cgi

Did you test this? From the manual it seems that the code here would
execute Foo.cgi and then try to read Foo.cgi as html code and replace the
first occurence of <!--#include in Foo.cgi with the output of Foo.cgi ??

Could you direct me to where in the manual this is described?.

--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
PGP Public Key  =  FB 9B 31 21 04 1E 3A 33  C7 62 2F C0 CD 81 CA B5 

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: