1) Directory listing:
Configure your web server to accept index.html as an index file. All servers I know include such configuration.. I do not know why yours does not. It is a web server configuration. Not fop2.
2) Cannot login
I replied hundred of times, but I will take a guess this time. You are configuring this by hand, not using autoconfiguration for freepbx, but you still have the #exec line at the end, that is running the autoconfig for freepbx. That exec line is overriding anything you might have before of that. REMOVE the #exec line. # is not a comment , #exec is a command.
Perhaps my guess is wrong, you already have #exec removed or commented (with ;) and you still cannot login, in that case, there are two different behaviours you can experience 1) you are prompted for exten/pass ONCE, you enter it and it tries to connect 1,2,3,4... and times out. 2) you are prompted for exten/pass several times, it fails every time.
If case 1, you have to check:
that fop2 server is running ( pgrep fop2_server )
that is listenting to port 4445 ( netstat -lnp | grep 4445 )
that you have the flash player installed in your browser
that you do not have flash blockers in your browser
that there are no firewall between your browser and your fop2 server
Best regards,