Article delegate-en/1929 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: CMAP with FFROMCL and a specified protocol does not work
13 Oct 2002 21:29:30 GMT (Yutaka Sato)


In message <_A1928@delegate-en.ML_> on 10/13/02(22:40:14)
you Joachim =?iso-8859-1?q?F=F6rster?= <> wrote:
 |> Maybe a reason is that FFROMCL filter is inserted before any data
 |> is conveyed on the connection by whith the real protocol is judged.
 |> By the way can't use FTOSV like this?
 |>   CMAP="filter.cfi:FTOSV:http:*:*"
 |It works! :-) Thank you!
 |Another question: Is there a way for a "Header-Filter" to get the IP address 
 |of the local client, which sent the request (to the http-proxy)?

Check the following environment variables (which are compatible with
the standard CGI interface):

REMOTE_ADDR ... IP-address of client
REMOTE_HOST ... hostname of client

 |(I heard of "CGI"-Filter and env-vars. I tried it, but then nothing passes 
 |through my filter and the log file tells something about "EOF from the 
 |server" ...)

"CGI:" filter gets the body of HTTP request (or POST method) at its
standard input, while getting HTTP-headers in HTTP_* environment
variables, like the standard CGI script.

  @ @ Yutaka Sato <>
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

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