Getting 403 even after uploading my project files in htdocs

Website URL

(http://mishrialtransport.kesug.com)

Error Message

403 Forbidden

Server or website configuration is blocking you from viewing this page

Other Information

I’ve uploaded all file sin htdocs but still not able to access my frontend

Welcome to the community.
Do you have an index file? If so, ensure the name is in lowercases. And also read this article:

6 Likes

do you have an index.html or index.php?

remember its case sensitive so cannot be capitalised?

other than that, have you made any changes to the .htaccess file?

4 Likes

Yes i have it in htdocs folder named as index_main.php

yes through wordpress etc but i delete all the installation of wordpress

By default, the server looks for index.html , index.htm or index.php file so you may have to rename it to index.php. If renaming the index file isn’t an option for you, create a .htaccess file in the htdocs folder with the following content:

DirectoryIndex index_main.php
5 Likes

Thank you for looking into it. I’ve renamed it and due to this i got access to the website.

But i’m unable to open genrated pdfs of my project. I dont know the reason. Can you please tell me that can this be the reason (While uploading a folder in htdocs along with files, folder have some files upon which i got prompt that security issues or something so i skipped 2-3 files)?

Can you check whether the PDF files are still in the correct folder? If they’re missing, they may have been removed due to exceeding the 10MB individual file size limit or a bug in the online file manager that prevented it from being uploaded. This is a known issue, the file manager can sometimes display an FTP quota exceeded/file upload blocked for security error. It’s recommended to use an FTP client like FileZilla for uploading multiple files or folders at once:

7 Likes

Thank You All. Resolved my issue. Your Kind and Valuable input helped me to go through it.

3 Likes

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