no that typo will not effect the code. it should work. what happens when you visit your site with yourdomain.com/index.php ?
it should display that “index.php direct request formidden” message on empty page. if it is not displaying it then you have not inserted snipped correctly. if that is the case send your server details via contact form so we can take a closer look at it.