PHP website sub folder getting 404 issue


I just installed a web app on my webserver. the problem with my website is i cannot access sub directories because it gives me error 404 display.

I know its as to do with some htaccess rewrite logic but every research as not help me with solution i am stucked and need urgent help.

I developer asked i contact cyberpanel for a solution.

Thank you.

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Just use this above htaccess rewrite codes and then restart the server. This should work fine.