Hi, In message <_A4219@delegate-en.ML_> on 11/20/08(04:15:05) you "Tan Ng" <ppmiabdyi-qa4rnudukja6.ml@delegate.org> wrote: |I would like to know how to set a HTTP response header to the client using |Delegate's FTP/HTTP gateway. Here is my Delegate setup. | |Real FTP Server (Oracle Content Services Server) <--->Delegate's FTP/HTTP |gateway (Dg9_8_2-pre36.exe) <----> Browser (Firefox) | |On the Delegate's configuration file, I have put use the HTTPCONF |configuration. Here is an example: | |-P9090 |SERVER=http |MOUNT="/* ftp://ocs.example.com:2700/* robots=ok |rcode={300|301|302|303|304|305|306|403|404} cache=no" |HTTPCONF="add-head:Cache-Control:private" On Win32, HTTPCONF (and possiblly other parameters) does not applied to some type of response data (including text/html) because those data is processed in an filter process but HTTPCONF is not interpreted nor inherited to the spawned filter process. You can escape the problem by one of the following ways: 1) use DeleGate on Unix 2) chain one more DeleGate just to process HTTPCONF 3) use DeleGate/9.9.0-pre8 in which I added inheritance of HTTPCONF to a filter process (ftp://ftp.delegate.org/pub/DeleGate/tmp/bin-latest9/) Cheers, Yutaka -- 9 9 Yutaka Sato <y.sato@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