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

[DeleGate-En] Re: env vars
25 Sep 1998 03:36:24 GMT (Yutaka Sato 佐藤豊)

In message <_A116@delegate-en.ML_> on 09/25/98(09:25:00)
you (Oliver Hertel) wrote:
 |> I recommend you from the simplest and direct testing like this.
 |This works.
 |But THIS does not work:
 |----start (script)----
 |delegated -P8089 -v ADMIN=root@sarah.. FTOCL=cfi.conf
 |# input: any html file
 |# output: html with minimal size, converted maps/frames etc.
 |Content-Type: text/html

You should specify your filter in "CGI:" field, not in "Filter:" filed,
if your filter expects the interface compatible with CGI.
I recommend you to see the difference betweeen Filter and CGI using

  Filter: cat; echo "<HR>"; env


  CGI: cat; echo "<HR>"; env

For "Filter:" whole part of message (header and body) is passed to the
filter program, while for "CGI:" only body part is passed to the
filter program with header information in environment variables
compatible with CGI.

Yutaka Sato <>   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_

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