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: custom module to re-route request |
|
Author |
|
orion1233445
Joined: 26 May 2022 Posts: 1 Location: london
|
Posted: Thu 26 May '22 18:43 Post subject: custom module to re-route request |
|
|
Is it possible to have a custom module, that routes a request to a different url depending on the request data sent.
I dont want to redirect as i want to keep the same data and headers, and also the user browsers could be very old. I just want to manually proxy the request.
I have been looking at this for the last two days, and am not sure this is doable.
thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 07 Jun '22 12:08 Post subject: |
|
|
In most cases, you would use a server-side programming language to route the requests.
However is the request data is only GET it is possible to use mod_rewrite |
|
Back to top |
|
|
|
|
|
|