Directory Files Exposed after Uploading project files to cPanel
-
- Veteran Member
- Posts: 32
- Joined: 2020-06-22 00:00
Directory Files Exposed after Uploading project files to cPanel
I uploaded my project files to the public_html folder in the cPANEL file Manager. As soon as i click on the domain url it displays the file directory folder instead of the AppGini project. Can anyone tell me how to correct this? Thank you.
Re: Directory Files Exposed after Uploading project files to cPanel
Hi,
I do not know about the cPanel system. But: Make sure, all files have been transferred correctly. There should be the index.php in the main (root) directory.
For security reasons you should (and probably can) disable directory listing on your server. This should prevent showing any directory structure. (Search: https://duckduckgo.com/?q=cpanel+disabl ... ry+listing )
Olaf
I do not know about the cPanel system. But: Make sure, all files have been transferred correctly. There should be the index.php in the main (root) directory.
For security reasons you should (and probably can) disable directory listing on your server. This should prevent showing any directory structure. (Search: https://duckduckgo.com/?q=cpanel+disabl ... ry+listing )
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: Directory Files Exposed after Uploading project files to cPanel
Yep, sounds more about how the website is configured. Like Olaf said disable the directory browsing, and you should be able to make the default document index.php. I too have no experience with cPanel.
Good luck.
~Paul
Good luck.
~Paul
-
- Veteran Member
- Posts: 32
- Joined: 2020-06-22 00:00
Re: Directory Files Exposed after Uploading project files to cPanel
Thank you all very much for your inputs and references. Your absolutely correct. Also, at the end I discovered that the server speed contributed to the errors during file upload. It was a shared hosting service that absolutely lagged, causing disruptions in file transfer and so on. I ultimately switched hosting providers and everything is working well now. Thank you again for your support.
V/r,
V/r,