On 08/10/00(04:46) you Max Tran <firstname.lastname@example.org> wrote
| GET /oed/public/images/hp-oup.gif HTTP/1.0
| Referer: http://myserver.mydomain:9999/oed/
| Host: myserver.mydomain:9999
| Cookie: auth=7a570a246838db7748c612ffd73as2ug
|the requested site would be "oed" and the institution would be "as2ug".
|The filter would do a
|lookup based upon the requested site and the user's institution to see
|if the user is allow access.
|If no, the user is redirect to a page saying 'Access Denied', by
|printing a "Location" header to STDOUT.
|If yes, the request goes through.
|The problem is that the filter would hang the client, if he is from an
|So the problem is caused by the Location header. Is there a way to
|redirect the client to another
Since you are rewriting a HTTP request message from a client to
a server, adding "Location:" header to the request message will
indicate nothing, since the header has meaning only when included
in a HTTP response message (See RFC2068).
I suppose rewriting the request URL in the first line of a
request message will do, and I recommend you to use FTOSV instead
of FFROMCL because FFROMCL is a little heavy to work.
Yutaka Sato <email@example.com> http://www.etl.go.jp/~ysato/ @ @
Computer Science Division, Electrotechnical Laboratory ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan _< >_