Я работаю пот denwer-ом создал там папку test(home\localhost\www\test), в ней 3 файла index.php, img.php, ну и .htaccess
в index.php просто ссылка на img.php, а в img.php ссылка на index.php
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html" />
</head>
<body>
<a href="index.php">Перейти по ссылке</a>
</body>
</html>
в файле .htaccess я пишу
RewriteEngine On
RewriteRule ^(.*)$ $1.php [L]
затем набираю в url http://localhost/test/
и он выводит мне ошибку
Internal Server Error