dispatch.fcgi is presented instead of the action

Hi there
I am trying to setup my first application on the server and i keep
getting the content of dispatch.fcgi

after i googled it, i found that i have to have .htaccess which i had
in the public folder.

you can check it here

any idea what is this problem and what is the solution

What are the contents of your .htaccess?

It should probably look something like this:

RewriteEngine On
RewriteBase /
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]


Thanks for the reply. I have the same configurations

Thanks for the recommendation. Unfortunately, my client wanted to host
by himself and he chose this server which has no good support for