fixed .htaccess for API