Hi,
Is there some trick how to give some directory access or show it as a file list dir under SS
Assume SS is installed on /root and i want directory /root/ftp to be accessed by going to www.something.country/ftp?
Thanks
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi,
Is there some trick how to give some directory access or show it as a file list dir under SS
Assume SS is installed on /root and i want directory /root/ftp to be accessed by going to www.something.country/ftp?
Thanks
Do you mean have it show as a listing of files in the browser when you access mysite.com/ftp?
If so, you'd need to have an .htaccess file in that folder. It depends on whether your web host allows you to do it though.
However, something like this:
Options +Indexes
IndexOptions +FancyIndexing