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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: custom module to re-route request
Author
orion1233445



Joined: 26 May 2022
Posts: 1
Location: london

PostPosted: Thu 26 May '22 18:43    Post subject: custom module to re-route request Reply with quote

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: 7288
Location: Germany, Next to Hamburg

PostPosted: Tue 07 Jun '22 12:08    Post subject: Reply with quote

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


Reply to topic   Topic: custom module to re-route request View previous topic :: View next topic
Post new topic   Forum Index -> Apache