Skip to content

Instantly share code, notes, and snippets.

View tom-njoroge's full-sized avatar

Thomas Njoroge tom-njoroge

View GitHub Profile
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ ^$1 [N]