这是什么意思?我试图从URL中删除index.php并指向root。例如, https://www.example.com/index.php重定向到https://www.example.com/ 以下解决方案绝对正常。但是,我不清楚RewriteCond系列中使用的HTTP /。它有什么作用?有人可以解释一下吗?
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ https://www.aviatrix.com/$1 [R=301,L]