by Fred Riley.
I came across this thread via a search for the redirect error. Ken's suggestion sounds good but, on my localhost with XAMPP, doesn't work. Even just trying http://localhost/moodle/admin/ gets the redirect loop. Time to try commenting out the redirect in index.php - it may be crude, but if it works that's fine by me...