Jump to:

4875 Posts in 7042 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Chown .htaccess

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: 2310 Views
  • Audster
    Avatar
    Community Member
    6 Posts

    Chown .htaccess Link to this post

    I know I have to chown the .htaccess file in the root - does anyone know what I have to change it to please?

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Chown .htaccess Link to this post

    Hi. It should be writable by the SilverStripe installer script. After installation it doesn't need write permissions.
    So, you should set the permissions in a way, that the "apache user" has write access.. 777 to be on the save side

  • Audster
    Avatar
    Community Member
    6 Posts

    Re: Chown .htaccess Link to this post

    Strange, the installation page shows a 500 internal server if htaccess is there.

    If I delete htaccess the installation page shows this:

    User 'mydomain' needs to be able to write to this file:
    /home/fhlinux132/s/mydomain/user/htdocs/.htaccess

    The file is currently owned by 'root'. There is no user-group that contains both the web-server user and the owner of this file. Change the ownership of the file, create a new group, or temporarily make the file writeable by everyone during the install process.

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