Article delegate-en/3742 of [1-4112] on the server localhost:7119
  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] passing original url as parameter for redirected webpage
30 May 2007 22:09:55 GMT "Robert van Leiden" <ptyhabdyi-mykgh42y4btw.ml@delegate.org>

Hi and greetings from Holland,

Delegate looks to me like a very powerful tool, but it's hard to find
the right commands.
I would like to know if it's possible to use delegate for the following:

- delegate is configured to listen on port 8080 on server webserver
- In a web browser, webserver:8080 is configured as a proxy for
certain url's (using a proxy.pac file)
- Delegate should forward the original url (full path!) as parameter
to a redirected web page. (In this web page further processing takes
place based on the parameter (url) supplied)
(e.g. redirect to
http://webserver.mysite.com:8081/ProcessURL.asp?<original URL>)



I've managed to implement this for http requests using the following commands:
-----------------------------
ADMIN=a@b..
-P8080
SERVER=http
MOUNT=* http://webserver.mysite.com:8081/ProcessURL.asp?* moved
RES_WAIT=0
-f
-vv
-r
------------------------------b

This works fine for http url's entered in the browser.
However, when entering a https url, the redirection fails.

Also, from the logging I see I only a CONNECT request to  the destination host.
My questions:
- Is it possible to configure delegate in a way it can be used for
both http and https requests in this way?
- Is it possible to retrieve the full requested path in case of https
requests (insteadòf only the hostname given with the CONNECT request)?

I hope you (or someone else) can answer this question.

Kind Regards,
Robert van Leiden

Btw: currently I've implemented this using ISAPIRewrite (google!) on
IIS5, however this no longer works with IIS6 because II6 rejects
CONNECT requests before passing the requests to the ISAPI filter.
Using ISAPIRewrite I was not able to pass the full path in case of
https requests.

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