Re: Removing trailing slashes with query strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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] redirect to https://webstage.example.com/administrator/sqlantern-joomla/php?cms_settings [REDIRECT/301]


Based on those log entries, the rewrite worked fine.

Perhaps you're dealing with DirectorySlash here.

Notice the last line redirected to itself, causing an infinite loop of redirects.

I also wanted to add that, given the RewriteCond rule may be working correctly, how can I change it to accommodate query strings, or this particular query string?

Thanks,
Dave



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux