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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

.htaccess denied


Go to End


5 Posts   1957 Views

Avatar
wilsonStaff

Community Member, 143 Posts

10 May 2010 at 12:17pm

Edited: 10/05/2010 12:18pm

Goosh, am i stupped with this thing.... Ive been "gossing" all weekend with SS and then it suddenly stopped working. So i completely reinstalled MAMP and SS and tried to reinstall SS. Now it gives me this:

/////////

User 'sabinfarley' needs to be able to write to this file:
/Applications/MAMP/htdocs/.htaccess

The file is currently owned by 'root'. We recommend that you make the file group-writeable and change the group to one of these groups:
- admin

For example:
chmod g+w /Applications/MAMP/htdocs/.htaccess
chgrp admin /Applications/MAMP/htdocs/.htaccess

////////

How in the world do i do that?

Hres a recap. I HAVE to learn SS (client requierement) but this is really not easy. Those server pitfalls are really slowing the learning curve.

Anyhow, any help appreciated.

Thanks!

Avatar
wilsonStaff

Community Member, 143 Posts

10 May 2010 at 12:41pm

Still s(t)uck with that .htaccess write permission..... Really, this is not and EASY thing. I have turned in circles for HOURS before event being able to open SS..... (which i havent been able since it jammed!).

Pleeeeeeeaaaase someone......

Avatar
Hamish

Community Member, 712 Posts

10 May 2010 at 3:29pm

Did you follow the instructions?

We recommend that you make the file group-writeable and change the group to one of these groups...

Avatar
Willr

Forum Moderator, 5523 Posts

10 May 2010 at 10:30pm

On a Mac you can run those instructions in the terminal. Open the terminal application (in Applications/Utilities) and type the 2 lines that it reports...

chmod g+w /Applications/MAMP/htdocs/.htaccess 
chgrp admin /Applications/MAMP/htdocs/.htaccess

Avatar
wilsonStaff

Community Member, 143 Posts

11 May 2010 at 1:39am

I am the author of the post. I solved the problem by going backward. I mean, what did i do before the problem happened? Thing is that when i first extracted SS into the htdocs, i left the Silverstripe folder into htdocs and accessed the CMS via localhost/silverstripe/install.php

Second time, after SS (or MAMP) crashed and stalled, i extracted SS but placed the CONTENT of silverstripe/ folder directtly into htdocs/ and tried to access the CMS via localhost/install.php

Thats when .htacess came in. Once i put silverstripe/ back into htdocs/, all worked.

Will try your solution Willr.

Thanks!