[GH-ISSUE #594] No webroot folder on my new server #430

Closed
opened 2026-03-02 15:58:42 +03:00 by kerem · 1 comment
Owner

Originally created by @Adrian3670 on GitHub (Jul 8, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/594

I am using tiny file manager as part of a class I am taking and when I first logged into my server the file manager was completely blank. There was no webroot folder for me to input files into and as far as I can tell there is no other way to get the file manager to recognize my files. It uploads them just fine and I can preview pictures and edit source code all I want but when I link to the file it says the requested resource is not found and the url I was provided goes to the default website. There is no index.html file anywhere I can see in the tiny file manager for me to overwrite with my own. Adding a new folder named webroot also does nothing.

Originally created by @Adrian3670 on GitHub (Jul 8, 2021). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/594 I am using tiny file manager as part of a class I am taking and when I first logged into my server the file manager was completely blank. There was no webroot folder for me to input files into and as far as I can tell there is no other way to get the file manager to recognize my files. It uploads them just fine and I can preview pictures and edit source code all I want but when I link to the file it says the requested resource is not found and the url I was provided goes to the default website. There is no index.html file anywhere I can see in the tiny file manager for me to overwrite with my own. Adding a new folder named webroot also does nothing.
kerem closed this issue 2026-03-02 15:58:42 +03:00
Author
Owner

@prasathmani commented on GitHub (Jul 9, 2021):

if your modified the $root_path, then you have to configure $root_url correctly.
i.e:

$root_path = $_SERVER['DOCUMENT_ROOT'].'/test';

then root url should be like bellow

$root_url = 'test';
<!-- gh-comment-id:876930776 --> @prasathmani commented on GitHub (Jul 9, 2021): if your modified the $root_path, then you have to configure $root_url correctly. i.e: ```php $root_path = $_SERVER['DOCUMENT_ROOT'].'/test'; ``` then root url should be like bellow ```php $root_url = 'test'; ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#430
No description provided.