Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Internal request from a module |
|
Author |
|
Lyudmila.Fokina
Joined: 10 Apr 2019 Posts: 6 Location: USA
|
Posted: Wed 17 Apr '19 17:07 Post subject: Internal request from a module |
|
|
Another novic question... I need my module to intercept an original request and send a new one (based on original one) to a policy server, read the response and depending on the specific fields in the response either proceed with the original one or end the original returning response to client.
I was looking at ap_internal_redirect or ap_run_sub_req, but I don't see a way to actually handle the response from such internal or sub request. Am I looking at the wrong was to do it. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 02 May '19 15:55 Post subject: |
|
|
That sounds more or less like a reverse proxy module. Maybe you find there what you need. |
|
Back to top |
|
|
|
|
|
|