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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

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

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

Chown .htaccess


Go to End


3 Posts   3170 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
bummzack

Community Member, 904 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.