Re: [users@httpd] Removing trailing slashes with query strings

2024-01-18 Thread Frank Gingras
On Thu, Jan 18, 2024 at 7:44 AM Dave Wreski wrote: > Hi, > > [Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid 904938] mod_rewrite.c(493): [client 68.111.193.42:0] 68.195.193.42 - - [ webstage.example.com/sid#560ba7f01a68][rid#7f2b1c0bc210/initial

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-18 Thread Dave Wreski
Hi, [Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid 904938] mod_rewrite.c(493): [client 68.111.193.42:0 ] 68.195.193.42 - - [webstage.example.com/sid#560ba7f01a68][rid#7f2b1c0bc210/initial

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-17 Thread Frank Gingras
On Wed, Jan 17, 2024 at 9:21 AM Dave Wreski wrote: > Hi, > > [Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid 904938] >>> mod_rewrite.c(493): [client 68.111.193.42:0] 68.195.193.42 - - [ >>> webstage.example.com/sid#560ba7f01a68][rid#7f2b1c0bc210/initial >>>

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-17 Thread Dave Wreski
Hi, [Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid 904938] mod_rewrite.c(493): [client 68.111.193.42:0 ] 68.195.193.42 - - [webstage.example.com/sid#560ba7f01a68][rid#7f2b1c0bc210/initial

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-16 Thread Frank Gingras
On Tue, Jan 16, 2024 at 3:33 PM Dave Wreski wrote: > Hi, > On 1/16/24 3:03 PM, Dave Wreski wrote: > > > [Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid 904938] >> mod_rewrite.c(493): [client 68.111.193.42:0] 68.195.193.42 - - [ >> webstage.example.com/sid#560ba7f01a68][rid#7f2b

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-16 Thread Dave Wreski
Hi, On 1/16/24 3:03 PM, Dave Wreski wrote: [Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid 904938] mod_rewrite.c(493): [client 68.111.193.42:0 ] 68.195.193.42 - - [webstage.example.com/sid#560ba7f01a68][rid#7f2b1c0bc210/initial

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-16 Thread Dave Wreski
[Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid 904938] mod_rewrite.c(493): [client 68.111.193.42:0 ] 68.195.193.42 - - [webstage.example.com/sid#560ba7f01a68][rid#7f2b1c0bc210/initial

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-16 Thread Frank Gingras
On Tue, Jan 16, 2024 at 9:30 AM Dave Wreski wrote: > Hi, > > I have the following rule that works well to remove trailing slashes from >> URLs: >> >> RewriteCond %{REQUEST_FILENAME} !-d >> RewriteRule ^(.*)/$ $1 [R=301,L] >> >> This is done to prevent the non-slash URL from being treated as dupli

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-16 Thread Dave Wreski
Hi, I have the following rule that works well to remove trailing slashes from URLs: RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ $1 [R=301,L] This is done to prevent the non-slash URL from being treated as duplicate content with the URL with a slash. The

Re: [users@httpd] Removing trailing slashes with query strings

2024-01-15 Thread Frank Gingras
On Mon, Jan 15, 2024 at 10:16 PM Dave Wreski wrote: > Hi, > > I have the following rule that works well to remove trailing slashes from > URLs: > > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule ^(.*)/$ $1 [R=301,L] > > This is done to prevent the non-slash URL from being treated as duplicate

[users@httpd] Removing trailing slashes with query strings

2024-01-15 Thread Dave Wreski
Hi, I have the following rule that works well to remove trailing slashes from URLs: RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ $1 [R=301,L] This is done to prevent the non-slash URL from being treated as duplicate content with the URL with a slash. The problem is that there ar