Article delegate-en/3199 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] problem with CFI on Windows?
24 Apr 2006 17:07:15 GMT Martin Vetter <pnieabdyi-kvnd4bhes3jr.ml@ml.delegate.org>


I would like to use a perl-based CFI filter,
using delegate 9.1.1 on Windows 2000 SP4:

   type dummy.bat

   @rem this batch file performs a filter op
   @perl -le "print <STDIN>"

this filter is invoked from a CFI file:

   type filter.cfi

   #!cfi
   # this filter file invokes the perl filter
   Content-Type: text/html
   Filter: dummy.bat

I check the results via:

   curl -v http://localhost:12345/-_-http://www.delegate.org/delegate/

if I specify the filter directly, everything works ok:

   dg9_1_1.exe -P12345 SERVER=http FTOCL=dummy.bat DGROOT=tmp  
ADMIN=no@admin.. -f -v

then I use the filter via the CFI file:

   dg9_1_1.exe -P12345 SERVER=http FTOCL=filter.cfi DGROOT=tmp  
ADMIN=no@admin.. -f -v

the very first HTML character (the "<" of "<HEAD>") is missing !? :o(

btw: on Linux, everything works as expected ...

   type dummy.sh

   # this batch file performs a filter op
   perl -le "print <STDIN>"

   type filter.cfi

   #!cfi
   # this filter file invokes the perl filter
   Content-Type: text/html
   Filter: dummy.sh

   delegated -P12345 SERVER=http FTOCL=filter.cfi DGROOT=tmp  
ADMIN=no@admin.. -f -v

what am I missing or doing wrong?
regards,

Martin Vetter


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V