httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <>
Subject Re: problem with nested includes?
Date Wed, 09 Aug 1995 02:58:55 GMT
On Wed, 9 Aug 1995, Andrew Wilson wrote:
> > Even worse than that, previous versions evaluated the variables like
> > "LAST_MODIFIED" in relation to the file that the nested #include was called
> > from... and apache_0.8.8 evaluates the variable wrt the file that the
> > variable evaluation is actually in.
> > 
> > Now all my pages have the same last-modified date :-(
> > 
> > This certainly seems to be broken behavior; correct me if I'm wrong.
> You're right, it's r0ng.  That was the whole pointed of allowing nested
> includes in the first place!

Hmm... I'm not sure I would consider that wrong.  Different, yes, but how
would I then get the last modified bit of the included file, if I wanted
it?  (or any other relevant data).  Do #included files get the extra CGI
variables with the REDIRECTED_ prefix, i.e would

<!--#echo var="REDIRECTED_LAST_MODIFIED" -->

be an acceptible solution?


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--  http://www.[hyperreal,organic].com/

View raw message