/
beforeを削除するにはどうすればよいindex.(php|html ...)
ですか?
例:
www.HTTP_HOST.com/x/index.php to www.HTTP_HOST.com/x
www.HTTP_HOST.com/../../../index.php to www.HTTP_HOST.com/../../..
私はこの書き換え条件を使用しますが、/
残ります。
RewriteCond %{THE_REQUEST} ^GET\ .*/index\.(php|html|hml)\ HTTP
RewriteRule ^(.*)/index\.(php|html|hml)$ $1 [R=301,L]