[Reference:<_A3860@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en
[DeleGate-En] Re: newbie on delegate
Hi,
On 10/11/07(18:44) you Alexander Lang <pcqhqbdyi-mxhgu44mv33w.ml@delegate.org> wrote
in <_A3860@delegate-en.ML_>
|I need only a small funktion for delegate to rewrite a url in a request and back and sent the to a upsteam proxy:
|i' ve tried following:
|delegate -P8888 -v SERVER=http MOUNT="/*mydomain/* //otherdomain/*" PROXY="myproxy:8080" ADMIN="pcqhqbdyi-mxhgu44mv33w.ml@delegate.org" RES_WAIT=0
|
|but the request goes without rewriting to the proxy server
|I want only rewrite each url from https://mydomain/ to https://otherdomain/ and back of course :-)
Your pattern expression in the MOUNT parameter is somewhat DeleGate cannot
understand. It could be like follows but there could be other ways more
appropriate depending on why you need such rewriting.
MOUNT="https://xxx.yyy/* https://aaa.bbb/*"
HOSTS="{xxx.yyy,aaa.bbb}"
STLS=mitm
Cheers,
Yutaka
--
9 9 Yutaka Sato <pfqcabdyi-mxhgu44mv33w.ml@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
|