fixed htaccess
fixed some typos
added default behaviour for index methods