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.

We've moved the forum!

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.

General Questions /

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

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

how to:directory open for public on server with SS


Go to End


2 Posts   589 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