0
:IfModuleが動作していないようですか?私はこれを使用する場合は
<IfModule mod_rewrite.c>
RewriteEngine On
RedirectMatch 301 ^/training/(.*) /faculty/training.html
</IfModule>
リダイレクトは発生しません。同じ
は:
<IfModule mod_rewrite>
...
</IfModule>
しかし、これは期待どおりに動作:
RewriteEngine On
RedirectMatch 301 ^/training/(.*) /faculty/training.html
つまり、リダイレクトが<IfModule>
ブロックの細かい外作品。
<IfModule>
がmod_rewrite.cを検出しない理由はありますか?
hh。ちょうどそれがドキュメントで言うように。ありがとう、ジョン! – Blue