#Author: Congyu Fan
#With the help of http://www.htaccessredirect.net/

#Allow the visitors to access this folder
order allow,deny
allow from all


#Change default directory page
DirectoryIndex index.php

#Prevent viewing of .htaccess file
<Files .htaccess>
order allow,deny
deny from all
</Files>

#Prevent directory listings
#doesn't work for our web space
#Options All -Indexes

#Rewrite url for the router
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php
