Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

how to:directory open for public on server with SS


Reply

2 Posts   274 Views

Avatar
isolated

18 October 2012 at 7:37am Community Member, 28 Posts

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

Avatar
Sean

18 October 2012 at 10:55am Forum Moderator, 921 Posts

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