permission issues with ISPConfig3, nginx and cakephp
Hi.
I've installed ISPConfig3 according to the perfect server suse 12.2 nginx (with php-fpm), dovecot, ispconfig3 setup but I'm having some issues. I'm sure they're probably not real problems, just me not quite understanding things:
1) I created a site, and extracted the cakephp files to the web folder for that site. Unless I chown root:root with the cakephp folder, I just get 404's when I try load any of the pages. Yet when it root is the owner, even with 777 permissions, the pages load but report that the tmp directory (cakephp's temp directory, /app/tmp) can't be written to.
This confuses me as according to the site setup in ISPConfig, the user is web2 and group is client0.
2) Also, when I update the nginx directive field in the options through ISPconfig, it wont make any changes until I restart nginx - is this normal behaviour? Is there a shortcut or way to do it through ISPConfig without having to go through the terminal? It seems to undermine the point of ISPConfig allowing a semi-automated multi-user hosting environment if when the user wants to change their settings they have to restart nginx (because if they can restart nginx, they can disrupt other users hosting, so they would have to ask me to do it instead)
3) So I can only get cakephp pages to even be visible (e.g. not 404) if I chown root:root. Yet I'm regularly restarting nginx to apply changes to the directives (once all is up and running, I obviously wont have to do this much) but when I restart nginx, it chowns all the files in /web/ back to web2:client0, breaking the little bit of success I have with cake. Is this meant to happen? I'm guessing solving problem 1) would probably solve this problem also.
I feel I've not quite got something setup right, but I'm not sure what. Any input would be greatly appreciated.
Thanks in advanced,
Dom.
|
Recent comments
2 hours 55 min ago
12 hours 23 min ago
13 hours 12 min ago
16 hours 46 min ago
21 hours 10 min ago
21 hours 32 min ago
23 hours 41 min ago
1 day 9 hours ago
1 day 14 hours ago
1 day 16 hours ago