http://example.com/not-hereに移動すると、404 の代わりに内部サーバー エラーが発生します。これが私の htaccess ファイルです (拡張子が削除されるため、abc.php は example.com/abc ではなく example.com/abc としてアクセスできます) 。 example.com/abc.php):
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /$1.php [L,QSA]
DirectoryIndex login.php index.php
ErrorDocument 403 /error.php?type=403
ErrorDocument 404 /error.php?type=404
ErrorDocument 500 /error.php?type=500
それは非常に単純なものですが、私には見えません。助けが必要です