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

Problem with httacess


Reply

4 Posts   1071 Views

Avatar
Webdoc

1 January 2010 at 2:43am Community Member, 332 Posts

If my Silverstripe is installed in root directory lets say www.example.com
and i have maked folder www.example.com/music
how to allow the acess to this folder and folders under it.
im using 2.4 alpha 1

Avatar
zenmonkey

1 January 2010 at 5:37am Community Member, 528 Posts

doesn't allow normal directory access silverstripe from a URL. www.example.com/music will have silverstripe look for a Page named Music. However as long as you have your permissions set correctly (766 or 777) you can access www.example.com/music/file.html

Avatar
Webdoc

1 January 2010 at 8:02am (Last edited: 1 January 2010 8:15am), Community Member, 332 Posts

my adress is http://www.e-sstonia.ee
the http://music.e-sstonia.ee/index.html
but http://music.e-sstonia.ee/web where is another silverstripe dont work cant install cant do nothing how to allow that is there something that i need to write in first silverstripe install htaccess file what is located in root folder named public_html

Folder music and web have both rights 777

Avatar
woodb2

5 January 2010 at 6:40am Community Member, 48 Posts

This thread should have the answer you're looking for. You need to add a Rewrite rule to your .htaccess file:

http://silverstripe.org/general-questions/show/271753#post271753