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

2024-04-28 Thread Dave Wreski
RewriteCond %{REQUEST_URI} !/resources/blog RewriteCond %{QUERY_STRING} ^start=\d+$ RewriteRule (.*)   /$1?    [L,R=301,QSD] [Sun Apr 28 15:40:02.614893 2024] ... rewrite 'resources/blog' -> 'index.php' [Sun Apr 28 15:40:02.614921 2024] ... internal redirect with

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

2024-04-28 Thread Frank Gingras
On Sun, Apr 28, 2024 at 4:05 PM Dave Wreski wrote: > Hi, > > I'm really quite stuck and hoped you could help. > > My apologies - the output was from wget, as that's what I typically use. >> >> $ curl 'https://guardiandigital.com/resources/blog?start=48' >> >> >> 301 Moved Permanently >> >>

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

2024-04-28 Thread Dave Wreski
Hi, I'm really quite stuck and hoped you could help. My apologies - the output was from wget, as that's what I typically use. $ curl 'https://guardiandigital.com/resources/blog?start=48' 301 Moved Permanently Moved Permanently The document has moved

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. > >

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

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

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

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

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

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

2024-04-19 Thread Frank Gingras
On Fri, Apr 19, 2024 at 11:16 AM 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 to

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

2024-04-19 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 except those