On Fri, May 1, 2009 at 7:16 AM, [email protected] <[email protected]> wrote: > > Hello Brian, > > about PLESK: > > 1. Your DOCUMENT ROOT will be something like /var/www/domains/ > domain.tld/httpdocs you will need to change that via ssh for instance. > You can do that multiple ways but the PLESK way is to go to /var/www/ > domains/domain.tld/conf/ and add vhost.conf there which only has > DocumentRoot /foo/bar. vhost is included by PLESK (at least on > HostEurope). > > 2. I had issues with unix permissions. There are some users and some > groups and you can only have one user and group. Webserver runs on > root and/or www-data - I did not understand that fully why it even > runs under root. FTPUser (so that you can change/add files) is > something like ftpDOMAIN and then there is something like psacln > GROUP. I played around with switching groups and users to www-data and/ > or root - sometimes webserver worked sometimes ftp. Finally I went > with very open unix permissions :/ > > in my /var/www/domains/domain.tld/httpdocs/web/ (insides that lies > my ./app and ./cake folder) > > chown -R ftpDOMAIN:psacln . > chmod -R 755 . > > ./app/tmp required even 777 as well as ./app/webroot/uploads (there > go my MeioUpload uploads) > > I even wonder why I need execute flag to be able to use FTP (no > joke) :/.
You need execute on directories so that you can read them (list contents). > PLESK is a mess, I am weak on the linux side but PLESK is really > bad :/. > At domainfactory for instance (which costs more, yes) you can just set > your Document Root per subdomain in a web interface, PLESK with all > its useless stuff cannot do that. I hate Plesk, also. My app will be on my client's server and he doesn't know a lot about linux, either. I've done a few things for him and Plesk has always been a huge pain. This will be the 1st Cake site I do for him so I'm a bit concerned how this is going to go. Thanks for the heads-up! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
