[Tue Jan 16 08:55:13.289205 2024] [rewrite:trace1] [pid 904886:tid
904938] mod_rewrite.c(493): [client 68.111.193.42:0
<http://68.111.193.42:0>] 68.195.193.42 - -
[webstage.example.com/sid#560ba7f01a68][rid#7f2b1c0bc210/initial
<http://webstage.example.com/sid#560ba7f01a68][rid%237f2b1c0bc210/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 don't think I'm involving the use of DirectorySlash or mod_dir, but
that looks interesting. Perhaps I should be considering using that to
strip off the trailing slash?
DirectorySlashDirective
Description:
<https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Description>
Toggle trailing slash redirects on or off
Syntax:
<https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Syntax>
|DirectorySlash On|Off|
Default:
<https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Default>
|DirectorySlash On|
Context:
<https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Context>
server config, virtual host, directory, .htaccess
Override:
<https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Override>
Indexes
Status:
<https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Status> Base
Module:
<https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Module> mod_dir
Thanks,
Dave