Deploying on cpanel

Hi,

I have access to top folders on my shared hosting server. Now I matched the slim project structure with my hosting folder structure, even then when I hit my website it gives me 500 error.

Any suggestions please.

What does the error log say?

So I fixed it by replacing following code from .htaccess file:

RewriteEngine on RewriteRule ^$ public/ [L] RewriteRule (.*) public/$1 [L]

TO

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]