Article delegate-en/2402 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] Enquiry Regarding CFI filter programming
11 Sep 2003 11:04:46 GMT "Vinu" <pmieqbdyi-4mytk2spr3zr.ml@ml.delegate.org>

Hi all,
 Iam using Delegate8.5.9 version,iam using delegate for reverse proxy support.I hav few concern
using Delegate
1.How to  use filter programs to replace few strings in the body content of the html page.
2.How to check if CFI script are working or not.
  I tried few cfi script but nothing worked out for me,can ne one help me out

#!/bin/sh
../src/delegated \
 -P9999 -v \
 CMAP="sun.cfi:FTOCL:http:*.sun.com:*" \

[sun.cfi]
#!cfi
Filter: echo "SUN"

% telnet localhost 9999
 GET http://www.sun.com/ HTTP/1.0

 HTTP/1.0 200 OK
 DeleGate-Ver: 5.9.2 (delay=2)
 Server: Netscape-Enterprise/2.01
 Date: Wed, 19 May 1999 08:31:01 GMT
 Set-cookie: sessionid=2DR4D0IAADRO3AMUVFZE5YQ;domain=.sun.com;path=/
 Content-type: text/html
 Via: 1.0 - (DeleGate/5.9.2)
 Content-Length: 4

 Connection closed by foreign host.

This was the ouput response me got.SUN is missing!!!!

Can ne one help me out plz!

Vinay M

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