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

Problem with httacess


Go to End


4 Posts   1691 Views

Avatar
Webdoc

Community Member, 349 Posts

1 January 2010 at 2:43am

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

Community Member, 545 Posts

1 January 2010 at 5:37am

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

Community Member, 349 Posts

1 January 2010 at 8:02am

Edited: 01/01/2010 8:15am

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

Community Member, 48 Posts

5 January 2010 at 6:40am

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