logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Internal request from a module
Author
Lyudmila.Fokina



Joined: 10 Apr 2019
Posts: 6
Location: USA

PostPosted: Wed 17 Apr '19 17:07    Post subject: Internal request from a module Reply with quote

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

PostPosted: Thu 02 May '19 15:55    Post subject: Reply with quote

That sounds more or less like a reverse proxy module. Maybe you find there what you need.
Back to top


Reply to topic   Topic: Internal request from a module View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads