Access denied on my site upload

http://test-server.great-site.net/

(please specify the URL of the site on which you are experiencing the problem)

403 Access denied

I recently uploaded my Laravel project via FTP Filezilla, and then when i visited my site it is access denied. Is there a waiting time before i see my site?

did you input any correct credentials, such as password, host, etc? If there is a typo then it would deny you access, if its giving you a waiting time, it might be because you input the incorrect password and attempted to login many times, so it then time outed you from attempting to login.

1 Like

Well, i just uploaded the whole folder like before, but it gave me this error… I dont think i have problems with the passwords since i did not update the .env file maybe i’ll double check just to be sure

are you using node somewhere in your site?

1 Like

You could have an incorrect node version, or node not setup.

1 Like

I am not using nodes in particular.

maybe, i’ll try to delete all folders and then re upload the files? do you think it might work?

no, that won’t do anything, because they’ll be exactly the same, try searching softaculous for a node.js version to install, since you’re using env

ok, i apologize, i didn’t quite understand. but i will try my best to look for softaculous and what it means

That’s completely fine, softaculous is on the Cpanel.

You cannot install node.js applications here, as serverside JavaScript is not supported.

Additionally, the application will throw out a different error (at least it should) if this is a credential issue.

Please ensure you exported your project correctly, and have uploaded the correct files to the correct location. Make sure no files were deleted by the server, and consider reading past issues that other users have had

https://forum.infinityfree.com/search?q=laravel%20403

6 Likes

The message shown is slightly different because you removed the default .htaccess, but the error code and the common underlying causes are still the same. Could you please check if any of the causes applies to your site?

3 Likes

Ok, so I tried a different approach

I created another domain and uploaded all the files. but, to access the site, i used the /public/ prefix and it’s working. Since i’m a beginner in this area, I am amazed and also wondering how this works when in my original site it’s not

This truly is a learning experience for me, and I want to learn more.

When I checked your original site, only the vendor folder was there, the rest of the Laravel codebase was missing.

If you want, you can remove the public prefix using .htaccess rules:

4 Likes

Thank you for this information. I will surely review and study this thoroughly.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.