Problem installing

I have tested Grav under Windows and it worked like a charm. Now I moved it to my prod server which is Ubuntu 16.04. So i encountered redirect issues , followed all the advice but find no solution. My .htaccess is simply bypassed. The test page is successfull si rewrite is on. What’s next?
Hope someone has a good tip for me.

Forget the question, I rebooted the server and it started to work