On 02/06/99(01:11) you Carlo Todeschini <pamaqbdyi-zxq45i5hos66.ml@delegate.org> wrote in <_A259@delegate-en.ML_> |# /usr/local/bin/delegated | -P11000 | MOUNT="/news_it/* nntp://news.rccr.cremona.it/it.*" | MOUNT="/news_rccr/* nntp://news.rccr.cremona.it/rccr.*" ... |to put my newsgroups on the web. The webserver is Apache 1.3.3 and it's |running on my firewall machine. the delegate is running on my intranet |machine that have IP address 192.168.2.2. | |In apache config file httpd.conf contains: |--- |ProxyPass /news_rccr http://192.168.2.2:11000/news_rccr ... |The problem is: |when I use delegate from any intranet machine it works well but when |I reach the page http://www.rccr.cremona.it/news_it/ from the |Internet I can't view the image on the top of the page. ... |In fact the html code for the builti images is: |--- |<A HREF="?Admin"><IMG ALT="[ADM]" |SRC="http://192.168.2.2:11000/-/builtin/icons/ysato/frogAdmin.gif" |ALIGN=MIDDLE></A> ... |can I substitute |SRC="http://192.168.2.2:11000/-/builtin/icons/ysato/up.gif" |with something like SRC="http://www.rccr.cremona.it/news_image/up.gif" First of all, I think such rewriting of URLs in a response message should be cared by the proxy (Apache in this case) which made the rewiting of the URL in the request message. But I don't know whether or not Apache supports such rewriting of response message. For such HTTP servers that do not support such rewriting, DeleGate can be invoked as a CGI program like this: #!/bin/sh delegated -Fcgi MOUNT="/* http://server/*" You can specify this as a CGI script which is mapped onto arbitrary URL in your HTTP server. More genrally, you can do arbitrary "MOUNT" in "-Fcgi" mode, like in DeleGate as a proxy server. But it is not efficient by similar reason with "nowait" mode invocation from inetd. (And there seems be a bug introduced in some recent version that disabled rewriting of DeleGate's built-in icon URLs to relative one to URL in calling HTTP server...) Cheers, Yutaka -- Yutaka Sato <ysato@etl.go.jp> http://www.etl.go.jp/~ysato/ @ @ Computer Science Division, Electrotechnical Laboratory ( - ) 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan _< >_