Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » how to:directory open for public on server with SS

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

Page: 1
Go to End
Author Topic: 265 Views
  • isolated
    Avatar
    Community Member
    28 Posts

    how to:directory open for public on server with SS Link to this post

    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

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: how to:directory open for public on server with SS Link to this post

    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

    265 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.