httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hotwired.com (Dean Gaudet)
Subject Re: 1.2b2
Date Tue, 10 Dec 1996 09:14:10 GMT
In article <hot.mailing-lists.new-httpd-9612092123.aa16233@gonzo.ben.algroup.co.uk>,
Ben Laurie  <ben@algroup.co.uk> wrote:
>Does anyone have a list of Known Bugs? (There's still the keepalive timeout
>bug to worry about, fer sher).

Here's one I gave Alexei a long time ago and forgot about until now.  Hope
he doesn't mind me posting his reply.

Dean

------- Forwarded Message

Date: Fri, 16 Aug 1996 17:11:13 -0700 (PDT)
From: Alexei Kosut <akosut@organic.com>
To: Dean Gaudet <dgaudet@hotwired.com>
Subject: Re: PATH_INFO stuff

On Fri, 16 Aug 1996, Dean Gaudet wrote:

> I'm still trying to get apache 1.1.1 to work at hotwired... and I'm running
> into problems with PATH_INFO and SSI.  Here's an ssi fragment:
> 
> <!--#include virtual="/cgi-bin/env.cgi/path?query"-->
> 
> (env.cgi is just a debugging tool like printenv)
> 
> If I do that without your PATH_INFO patch (posted 7 Aug 1996 22:05:22 GMT)
> it sets PATH_INFO = /path.  With the patch, PATH_INFO isn't set.
> 
> I'm willing to believe that I don't understand #include virtual... but
> I think it should set PATH_INFO.  What's your take?

Indeed... this falls under the "Hmm... why the *heck* does it do that?"
category. With my patch installed, Apache sets PATH_INFO in a different
place than where it used to set it. And, as you'll note on line 229-ish,
Apache doesn't check path info for setting SCRIPT_NAME for included files.
So now it doesn't set PATH_INFO either. The rational in the comments seems
possibly dubious for this application, but perhaps it makes sense for
others. I'll have to consider this in greater detail.

Thanks.

- -- Alexei Kosut <akosut@organic.com>            The Apache HTTP Server 
   http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/

------- End of Forwarded Message

Mime
View raw message