URL parsing problems

These three URL should be identical:
 * /index.php/example
 * /example
 * /example/