RewriteEngine on
Options All -Indexes
DirectoryIndex index.php
RewriteRule ^(.*)\   index.php?p=$1 [L]
