Display file-index in public_html via URL
Hello,
I have gone thru about 40 threads using similar search queries but did not find exactly what I am looking for.
One of our cpanel-users wants to display a list of files thru his main-domain (or any other URL), that is listed in a specific folder "media" inside his web-root (public_html). He has no index-file inside "media" and just wants the visitors to present a list of pictures inside that folder.
How can I help him? Is cPanel providing a special setting with some kind of pre-defined template to use for some kind of "public webftp (read-only)"?
Sorry for my english and thank you for any help!
Happy new year,
Sascha
-
Place a ".htaccess" file in the "media" folder with the contents: Options +Indexes IndexOptions FancyIndexing NameWidth=* SuppressDescription IndexIgnore .htaccess0 -
Hello :) You can also use the "Index Manager" option in cPanel: Index Manager Thank you. 0
Please sign in to leave a comment.
Comments
2 comments