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   329 Views

Avatar
isolated

Community Member, 28 Posts

18 October 2012 at 7:37am

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

Forum Moderator, 922 Posts

18 October 2012 at 10:55am

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