Jump to:

4952 Posts in 14417 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » .htaccess denied

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

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

Page: 1
Go to End
Author Topic: 1308 Views
  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    .htaccess denied Link to this post

    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!

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: .htaccess denied Link to this post

    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......

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: .htaccess denied Link to this post

    Did you follow the instructions?

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

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: .htaccess denied Link to this post

    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

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: .htaccess denied Link to this post

    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!

    1308 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.