Re: [users@httpd] Need help with correlating HTTP request with a database call

2023-07-04 Thread Antony Stone
On Tuesday 04 July 2023 at 18:52:10, Sudesh Gowda J wrote: > I'm currently working on a project where Apache server is being used with a > database. I need to find out which HTTP request maps to which database call > without modifying the server code(eg., Logs). I read the documentation > regardin

Re: [users@httpd] Need help with correlating HTTP request with a database call

2023-07-04 Thread Frank Gingras
httpd is not privy to the database layer of your application; you will need to focus on isolating the correlation conditions first, i.e. the request uri path, the date/time of the request, the HTTP method (GET, POST). On Tue, Jul 4, 2023 at 1:52 PM Sudesh Gowda J wrote: > Hello everyone, > I'm c

[users@httpd] Need help with correlating HTTP request with a database call

2023-07-04 Thread Sudesh Gowda J
Hello everyone, I'm currently working on a project where Apache server is being used with a database. I need to find out which HTTP request maps to which database call without modifying the server code(eg., Logs). I read the documentation regarding logging and the parameters don't seem to be of any

Re: [users@httpd] Apache httpd with Node.js backend server.

2023-07-04 Thread Frank Gingras
This isn't how ProxyPassReverse is to be used, see: https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypassreverse On Tue, Jul 4, 2023 at 1:21 PM Kaushal Shriyan wrote: > Hi, > > I have added the below ProxyPassMatch and ProxyPassReverse in > /etc/httpd/conf.d/phpnodejs.conf after re

Re: [users@httpd] Apache httpd with Node.js backend server.

2023-07-04 Thread Kaushal Shriyan
Hi, I have added the below ProxyPassMatch and ProxyPassReverse in /etc/httpd/conf.d/phpnodejs.conf after referring to https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypassmatch ProxyPassMatch"/demo(.*)" "http://localhost:8000/$1 " ProxyPassReverse "

Re: [users@httpd] reverse proxying websocket connections

2023-07-04 Thread Helmut K. C. Tessarek
On 2023-07-04 03:58, Yann Ylavic wrote: Yes, they should be the same. Upgrade only takes place when requested AND accepted/switched by the backend server. Awesome. Thanks so much for the confirmation. Have a great day, K. C. -- regards Helmut K. C. Tessarek KeyID 0x172380A011EF

Re: [users@httpd] reverse proxying websocket connections

2023-07-04 Thread Yann Ylavic
On Tue, Jul 4, 2023 at 2:28 AM Helmut K. C. Tessarek wrote: > > The documentation states: > > Proxying both HTTP and websockets at the same time, where the websockets URL's > are not websocket-only or not known in advance can be done by using the > RewriteRule directive to configure the websockets