Options -Indexes

RewriteEngine On
RewriteBase /gmind/branch/

# Route all requests through the main index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ ../index.php?route=branch/$1 [QSA,L]
