Re: [users@httpd] Sending client's IP address to local proxied application server.

2020-10-30 Thread Yann Ylavic
On Fri, Oct 30, 2020 at 9:04 PM Mike Diehl wrote: > > Well, I added this to the vhost definition: > > ProxyPreserveHost On > RemoteIPHeader X-Forwarded-For > > Now I'm getting the web server's outside IP address as the value of the > x-forwarded-for header. This is progress, but not quite what

Re: [users@httpd] Sending client's IP address to local proxied application server.

2020-10-30 Thread Mike Diehl
Well, I added this to the vhost definition: ProxyPreserveHost On RemoteIPHeader X-Forwarded-For Now I'm getting the web server's outside IP address as the value of the x-forwarded-for header. This is progress, but not quite what I need. I need the original client's IP address before the requ

[users@httpd] RE: [External] Re: [users@httpd] Apache 2.4.7 - How to parse the host and port and send the request to that host and port

2020-10-30 Thread Pennington,Jim
The URL should look like http://server:port/WebZ/... Given the request: GET /WebZ/MEdit?sessionid=server09.prod-1234-kgv44z4b-pl2l93:editsessionid=2:catpage=html/corc/catalogue.html:entitymytemplateName=marc?sessionid=server09.prod-1234-kgv44z4b-pl2l93 HTTP/1.1 The QUERY_STRING contained: /WebZ

Re: [users@httpd] Apache 2.4.7 - How to parse the host and port and send the request to that host and port

2020-10-30 Thread Jonathon Koyle
What do you expect the final url to look like? What did you try in mod rewrite, because i believe it can do what you have described so far. On Fri, Oct 30, 2020, 08:06 Pennington,Jim wrote: > I'm using Apache 2.4.7 > I'm currently running and old Apache with customized software and need to > ch

[users@httpd] Apache 2.4.7 - How to parse the host and port and send the request to that host and port

2020-10-30 Thread Pennington,Jim
I'm using Apache 2.4.7 I'm currently running and old Apache with customized software and need to change to using a newer Apache. How do I parse out the server from the request and send the request to the process running on that server (and fixed port)? Any help is greatly appreciated. Jim Penni