Re: [users@httpd] Stripping query string except from specific URL

2024-04-24 Thread Dave Wreski
Hi, We have a situation where we need to strip a query string from all URLs except ones matching a particular pattern. However, when I try the rules below, it redirects to the homepage for some reason. In this example, I'd like to strip off the query string from all URLs exc

Re: [users@httpd] Stripping query string except from specific URL

2024-04-24 Thread Frank Gingras
On Wed, Apr 24, 2024 at 12:43 PM Dave Wreski wrote: > Hi, > > We have a situation where we need to strip a query string from all URLs >> except ones matching a particular pattern. However, when I try the rules >> below, it redirects to the homepage for some reason. >> >> In this example, I'd like

Re: [users@httpd] Stripping query string except from specific URL

2024-04-24 Thread Dave Wreski
Hi, We have a situation where we need to strip a query string from all URLs except ones matching a particular pattern. However, when I try the rules below, it redirects to the homepage for some reason. In this example, I'd like to strip off the query stri

Re: [users@httpd] Stripping query string except from specific URL

2024-04-24 Thread Frank Gingras
On Wed, Apr 24, 2024 at 4:58 PM Dave Wreski wrote: > Hi, > > We have a situation where we need to strip a query string from all URLs >>> except ones matching a particular pattern. However, when I try the rules >>> below, it redirects to the homepage for some reason. >>> >>> In this example, I'd l

Re: [users@httpd] Stripping query string except from specific URL

2024-04-24 Thread Dave Wreski
13 62.111.193.42 - - [24/Apr/2024:15:19:36 -0400] "GET /index.php HTTP/1.1" 200 33921 r:"-" "Wget/1.21.4" X:"SAMEORIGIN" 0/129431 573/35481/33921 H:HTTP/1.1 U:/index.php gd443 s:200 It did exactly what you asked, yes. Further, I asked you to use curl to see if you get redirected f

Re: [users@httpd] Stripping query string except from specific URL

2024-04-24 Thread Frank Gingras
On Wed, Apr 24, 2024 at 7:05 PM Dave Wreski wrote: > > 13 62.111.193.42 - - [24/Apr/2024:15:19:36 -0400] "GET /index.php >> HTTP/1.1" 200 33921 r:"-" "Wget/1.21.4" X:"SAMEORIGIN" 0/129431 >> 573/35481/33921 H:HTTP/1.1 U:/index.php gd443 s:200 >> > > It did exactly what you asked, yes. > > Further

Re: [users@httpd] Apache error logs of module "proxy_ajp" is not converting to JSON format

2024-04-24 Thread Priyanshi Shah
Hi, We have defined this pattern in httpd.conf file globally. And all other access logs and error logs are converting properly with the defined format. Only below log is not converting to JSON *[Tue Apr 16 06:06:20.902697 2024] [proxy_ajp:error] [pid 11056:tid 38644] (OS 10054)An existing connect