Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.
That “Something Went Wrong!” page means one of the .htaccess files on the path to your page has a line the server can’t accept. It doesn’t matter that the install is fresh. The cause is the .htaccess file, not your PHP code, and the installer’s own file can be the one with the problem. This knowledge base article covers it:
The server reads the .htaccess in the folder of the page you open and in every folder above it, up to htdocs. For your URL that means htdocs/pos/public, htdocs/pos and htdocs itself. Any of them can cause the error.
To find which one, rename each of those .htaccess files in turn (for example to .htaccess.bak) and reload the page. When the error goes away, you’ve found the file.
Could you paste the contents of that file here? Then someone can see which line the server is rejecting.