スクリプトに問題があります。それは仕事に必要なhtaccessファイルで動作しません。ここにhtaccessの内容を示します。私はWampのlocalhostにインストールしようとしています。コードは次のとおりです。ワンプ付きローカルホスト上の.htaccessのRewriteEngineによる内部エラー
#AddType x-mapp-php5 .php
#AddHandler x-mapp-php5 .php
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
#RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
Options All -Indexes
私はこれを削除した場合、それは動作します:
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
#RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
しかし、この方法でスクリプトの負荷をが、すべてのページショーのエラー404は、この問題を解決する方法はあります?
したがって、 'Options All -Indexes'は500エラーを引き起こしていますか?あなたはあなたのApache error.logをチェックできますか? – anubhava