Martin, In message <_A3216@delegate-en.ML_> on 05/08/06(20:52:43) you Martin Vetter <pnieabdyi-mxhgu42o633w.ml@delegate.org> wrote: |> Now I'm extending SSI (SHTML) supports in DeleGate |> mainly for access counters. As the basic feature of SHTML, |> I implemented #exec tag which can be used to replace CGI. ... |> Since both the CGI and FTOSV prcoesses are the |> children of the parent DeleGate process, ... |could it be, that there still seem to be |problems when stacking filters on CGI or SSI output? I suppose these problems occur without CGI or SSI, but only with FTOCL as an external filter command. DeleGate on Windows tries to shutdown the TCP connection to the client when it is running with FTOCL filter, on the end of response without Keep-Alive. The shutdown can be suppressed with the following option: SOCKOPT=noshut | cat filter.cfi | | #!cfi | Content-Type: text/plain | Header-Filter: filter.bat | Body-Filter: filter.bat | | cat ssi.shtml | | <!--#exec cmd="cgi.bat" --> ... | dg9_2_0.exe DGROOT=tmp -f RELAY=no STLS=-FCL \ | ADMIN=dummy -P8000 SERVER=http -v \ | MOUNT="/ssi/* file:*" FTOCL=filter.cfi | |=> "curl http://localhost:8000/ssi/ssi.shtml" = filter apparently not |invoked It is just because the Content-Type of the SHTML is not text/plain but text/html. You can change the Content-Type of the output of SHTML with META tag as this: <META HTTP-EQUIV=Content-Type CONTENT="text/plain"> Cheers, Yutaka -- D G Yutaka Sato <pfqcabdyi-mxhgu42o633w.ml@delegate.org> http://delegate.org/y.sato/ ( - ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller