httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@cnet.com>
Subject Re: [PATCH] Fix relative internal file...
Date Thu, 06 Sep 2001 04:10:01 GMT
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) ???


Mime
View raw message