<Files .htaccess>
deny from all
</Files>
<ifModule mod_rewrite.c>
RewriteEngine on
# Uncomment the line below if the site doesn't work and you have mod_rewrite installed.
# RewriteBase /
RewriteRule ^index$ ./index.php
RewriteRule ^me$ ./me.php
RewriteRule ^client$ ./client.php
RewriteRule ^articles/(.*)$ ./articles.php?id=$1
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(([A-Za-z0-9-_]+/)*[A-Za-z0-9-_]+)?$ $1.php
</ifModule>