www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J.W.Schultz ...@techpubs.amat.com>
Subject mod_include/1928: SSI variables now local to SSI Script
Date Tue, 10 Mar 1998 04:20:55 GMT

>Number:         1928
>Category:       mod_include
>Synopsis:       SSI variables now local to SSI Script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar  9 20:30:00 PST 1998
>Originator:     jw@techpubs.amat.com
>Release:        1.3b5
SunOS 4.1.4
gcc version 2.6.0
Refer to test case below.
Variables set in nested SSI stream are not available to the outer layer
when the nesting is a result of a cgi.
This was not the case in 1.2b7
SSI doc with <!--#set var="layer1" value=1>
    <!--#include virtual="/cgi-bin/test1" -->
    <!--#printenv -->
cgi-bin/test1 outputs "Location: /layer2.htm\n\n"
/layer2.htm contains <!--#set var="layer2" value="2" -->
    <!--#printenv -->
Defer SSI processing of substreams until included in the final stream
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message