Get directory listing instead of Login

Hello, I installed the CE on my VPS with CentOS 7.6 and Apache 2.4 on a subdomain and when I access the subdomain I get the Index of/ directory listing instead of the Login page. In the error log I saw a permission error and I solved it and I deleted the cache but no change, I only see the Index of/ directory listing. Can somebody please give me a hint what I should do? Thank you.

I removed Seafile from the server and installed it again (CE 7.0.3). When I access the domain I see only the Directory Index listing:

Index of /
Name Last modified Size Description
logs/ 2019-07-07 12:14 -
pids/ 2019-07-07 12:14 -
seafile-server-7.0.3/ 2019-07-05 07:41 -
seafile-server-latest/ 2019-07-05 07:41 -
seafile-server_7.0.3…> 2019-07-05 09:24 56M
seahub-data/

Can somebody please give me a hint what I should do?

Thank you

Make sure you follow the instructions here meticulously : https://manual.seafile.com/deploy/deploy_with_apache.html

If that does not work: How about the apache conf file as well as the conf files from Seafile’s conf folder?

Do not put the server files into your webroot. This is a bad idea, even though its possible.