Hi all, I've already asked this question on a number of apache forums and have received no response. I hoped someone here could help me understand why this rewriterule doesn't work: RewriteRule ^/index.php\?option=login$ /register [R=301,L] This is on a joomla-3.9 system running on fedora29. It fails with "COMPONENT NOT FOUND", as if it thinks the option=login is a joomla component that it's trying to run. Of course I don't want it to interpret the URI, but instead just redirect. I've tried adding this to the .htaccess in the document root, as well as the apache config for the domain. I have other redirects in that config that I believe are working properly. I've also tried using redirects: Redirect 301 /index.php?option=login https://linuxsecurity.com/register Here is the rewrite output during a request: [Fri Mar 01 11:31:58.144013 2019] [rewrite:trace1] [pid 27899:tid 139741257266944] mod_rewrite.c(482): [client 192.168.1.7:47112] 192.168.1.7 - - [linuxsecurity.com/sid#55fa6d60df40][rid#7f17e40218d0/initial] pass through /index.php [Fri Mar 01 11:31:58.144874 2019] [rewrite:trace1] [pid 27899:tid 139741257266944] mod_rewrite.c(482): [client 192.168.1.7:47112] 192.168.1.7 - - [linuxsecurity.com/sid#55fa6d60df40][rid#7f17e40218d0/initial] [perdir /var/www/www.linuxsecurity.com-443/html/] pass through /var/www/www.linuxsecurity.com-443/html/index.php 192.168.1.7 - - [01/Mar/2019:11:31:58 -0500] "GET /index.php?option=login HTTP/1.1" 404 2748 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.42 Safari/537.36" 0/56728 855/9853/2748 linuxsecurity.com [Fri Mar 01 11:31:58.329012 2019] [rewrite:trace1] [pid 27899:tid 139740946867968] mod_rewrite.c(482): [client 192.168.1.7:47112] 192.168.1.7 - - [linuxsecurity.com/sid#55fa6d60df40][rid#7f17e400df90/initial] pass through /index.php, referer: https://linuxsecurity.com/index.php [Fri Mar 01 11:31:58.330180 2019] [rewrite:trace1] [pid 27899:tid 139740946867968] mod_rewrite.c(482): [client 192.168.1.7:47112] 192.168.1.7 - - [linuxsecurity.com/sid#55fa6d60df40][rid#7f17e400df90/initial] [perdir /var/www/www.linuxsecurity.com-443/html/] pass through /var/www/www.linuxsecurity.com-443/html/index.php, referer: https://linuxsecurity.com/index.php [Fri Mar 01 11:31:58.363485 2019] [rewrite:trace1] [pid 27899:tid 139741475346176] mod_rewrite.c(482): [client 192.168.1.7:47116] 192.168.1.7 - - [linuxsecurity.com/sid#55fa6d60df40][rid#7f17c8032c90/initial] pass through /templates/shaperhelix_child/fonts/fontawesome-webfont.woff2, referer: https://linuxsecurity.com/templates/shaperhelix_child/css/font-awesome.min.css [Fri Mar 01 11:31:58.364415 2019] [rewrite:trace1] [pid 27899:tid 139741475346176] mod_rewrite.c(482): [client 192.168.1.7:47116] 192.168.1.7 - - [linuxsecurity.com/sid#55fa6d60df40][rid#7f17c8032c90/initial] [perdir /var/www/www.linuxsecurity.com-443/html/] pass through /var/www/www.linuxsecurity.com-443/html/templates/shaperhelix_child/fonts/fontawesome-webfont.woff2, referer: https://linuxsecurity.com/templates/shaperhelix_child/css/font-awesome.min.css 192.168.1.7 - - [01/Mar/2019:11:31:58 -0500] "GET /templates/shaperhelix_child/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 304 - "https://linuxsecurity.com/templates/shaperhelix_child/css/font-awesome.min.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.42 Safari/537.36" 0/1983 932/438/0 linuxsecurity.com 192.168.1.7 - - [01/Mar/2019:11:31:58 -0500] "GET /index.php HTTP/1.1" 200 19631 "https://linuxsecurity.com/index.php" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.42 Safari/537.36" 2/2045372 457/20542/19631 linuxsecurity.com What more can I do to troubleshoot this? _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx