I’m having trouble with deploying a Kirby site to the server of a client. I’ve installed Kirby sites on different servers before, but I can’t figure out a solution to this one.
The client is in charge of his own (shared) servers via a provider and we don’t have access to the server configuration – only to the file system. They configured the web server after the server requirements listed in the Kirby installation documents. Also, they created a subfolder /www in the file system that is configured as document root.
I’ve deployed the site to the server and it gives me a 500 internal server error. It seems to have to do with the .htaccess file. It does neither work with the default configuration nor with “RewriteBase /”. When I delete the .htaccess file I get the Kirby error “This page is currently offline due to an unexpected error…”.
No, the session files are stored inside /site/sessions, therefore this folder must be writable by the webserver user. And other folders as well, like content, site/accounts, site/cache and the media folder.
So this has to do with file/folder rights and permissions and you can’t really do anything about it, unless you have SSH access to the server or the client’s hosting admin console.
Thank you for your replies. That’s really helpful. I’ll try to set the permissions via FTP with chmod.
But as far as I understand, I can’t do the chown part of texnixe’s explanation via FTP – so that probably won’t do the trick, right?