Article delegate-en/286 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: Problem with Delegate...
12 Feb 1999 01:43:37 GMT (Yutaka Sato)

On 02/06/99(01:11) you Carlo Todeschini <> wrote
in <_A259@delegate-en.ML_>
 |# /usr/local/bin/delegated 
 |  -P11000 
 |  MOUNT="/news_it/* nntp://*" 
 |  MOUNT="/news_rccr/* nntp://*"
 |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
 |In apache config file httpd.conf contains:
 |ProxyPass /news_rccr
 |The problem is:
 |when I use delegate from any intranet machine it works well but when
 |I reach the page 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]"
 |can I substitute
 |with something like SRC=""

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:

    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...)

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]