ルールindex.html
が機能するのとまったく同じように、すべてのファイルと拡張子を削除しようとしています。index.php
代わりに
www.discretix/modules-hdcp/index.html
あるはずです
www.discretix/modules-hdcp/
それは機能しますindex.php
が、index.html
機能しません。私はwordpressを使用しており、私のサーバーはapacheです。
これらは私のhtaccessルールです:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~discretix/
RewriteRule ^index\.php$ - [L]
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /~discretix/index.php [L]
</IfModule>