httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: [PATCH] Fix relative internal file...
Date Thu, 06 Sep 2001 04:39:49 GMT
On Wed, Sep 05, 2001 at 09:10:01PM -0700, Ian Holsman wrote:
> Cliff Woolley wrote:
> > On Wed, 5 Sep 2001, Greg Stein wrote:
> >>I don't understand what you're trying to solve here, and how this
> >>solves it.
> > 
> > It's an attempt to fix the mod_include <!--#include file="foo/bar.html"-->
> > segfault.  It "solves" it by setting r->uri to something valid rather than
> > setting it to "INTERNALLY GENERATED...".  It's as yet unclear as to
> > whether it's a correct solution, though.  I'm looking into it.
> > 
> > --Cliff
> 
> If the request is always relative to where we are,
> and we know the URI where we are... couldn't we generate the URI
> correctly ??? apr_pstrcat(r->uri, '/',file,NULL) ???

Maybe the specified file does not have a corresponding URI.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message