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.

Installing SilverStripe /

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

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

Chown .htaccess


Reply


3 Posts   2504 Views

Avatar
Audster

Community Member, 6 Posts

1 August 2009 at 3:42am

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

Avatar
banal

Community Member, 901 Posts

1 August 2009 at 4:50am

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

Avatar
Audster

Community Member, 6 Posts

1 August 2009 at 5:48am

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.