moved .htaccess file to public folder.