DirectAdmin panelde çalışan bir sitemde .php uzantısını gizlemek için şu kodları kullanmak istedim ama 500 Internal Server Error hatası veriyor.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*.php$ %{REQUEST_FILENAME}.php [QSA,L]
</IfModule>