I am trying to deploy my laravel project through git hub on hostinger. The deployement through git actually work out and all the files are installed in subdomain where I want to deploy the project which is in public_html/absolute. The deployment on the surface installed all the files including the files in the public folder to the absolute subfolder. But when I got to the link https://coffeesojava.xyz/absolute/ it says 403 Forbidden, Access to this resource on the server is denied!. I am not sure what went wrong.
public_html/absolute/public/.htaccess
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Copy the .htacces file from the public folder and paste it outside of the public folder
Rename server.php to index.php