Keagan Make sure you meet the PHP version requirement. Flarum requires PHP 7.1+
However if you get a list of files when accessing your site, something is wrong with the web root, rewrites or php handler. Do you see the content of the Flarum root folder or the content of the public folder ?
EDIT: what exactly did you do with that rewrite Directory rule ? It has to go in your server config (not htaccess, as it enables htaccess files...), and the path needs to be updated. And as said in the docs, you might not need it.