Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 21st December 2012, 15:31
ItsDom ItsDom is offline
Join Date: Dec 2012
Posts: 41
Thanks: 2
Thanked 5 Times in 5 Posts
Default permission issues with ISPConfig3, nginx and cakephp


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,

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 21:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.