1Your .htaccess file would need to look something like this:
2
3IndexIgnore * # prevent directory listing
4
5Order deny,allow
6Allow from *
7
8# ------------------------------------------
9# Rewrite so that php extentions are not shown
10RewriteEngine on
11
12RewriteCond %{REQUEST_FILENAME} !-d
13RewriteCond %{REQUEST_FILENAME}\.php -f
14RewriteRule ^(.*)$ $1.php