Problem with index.php in the browser bar

Hello,
I have a problem identical to the first 2 presented here: https://pkp.sfu.ca/2018/04/12/open-journal-system-3-examples/examples. My website is here: http://flamavadim.pl/ Problem is, that in the browser bar we see http://flamavadim.pl/index.php/FiV. Can someone tell me how to remove the /index.php/FiV part?
I have OJS 3.1.2.4 and Apache 2.4.
In config.inc.php I have restful_urls = On and .htaccess looks so:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]

Thanks!

Hi @jolsky11,

Please have a look at the post here where some suggestions are made around removing the index.php part of the URL: Remove index.php - #4 by asmecher

Best regards,

Roger
PKP team