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

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



From: Christoph Lameter <clameter@waterf.org>
> 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.

Oh. That makes everything much more clear.

> 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.

Well, for now just try this:

#!	/bin/bash
exec /var/debian-www/cgi-bin/$PATH_INFO

hams.com seems to be down and I can't get at the source of my C version
at the moment.

> 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 ??

I'd better try these before I send any of them again.

	Bruce

--
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: