In the documentation i read;
The following folders (and everything in them) should be chmod'ed to '777':
Usually you won't have to set the file rights again after upgrading PivotX.
Well that will make a security issue as we know.
First off all i run my own webserver (Apache with PHP and MySQL)under Debian, i use Webmin to administrate...
I have a user called "web" that means he has it's own home dir and mailbox etc.
In the home directory i install Pivotx, then i make from the www directory (the Internet reachable directory) a virtual link to the install directory of Pivotx like;
home/users/web/PivotX/ <<<And here is the pivotx
var/www/html/PivotX <<<This is linked to the home/user/PivotX directory. (as you can see in the image my user web has the html directory in it's home)
Then when i want to reach it i can use http:// mi ip/PivotX or http://mydomain.ug/PivotX and the installer will take off, NOW it's important that the directory user rights are set well before installing,
My user is "web" and he belongs to the group "www-data", www-data has rights to do things witch are related to reading and writing in directory's that are belonging to the internet.
But www-data is also a user, so i set the user rights to chmod -Rt www-data and chgrp -Rt www-data....After that i will start the installation.
So all files will be installed with the right of www-data than afterwords you can set the directory rights for the db directory to a 755 and pivotx will be function ok.
It's maybe helpful but don't know for me it's working, and as i can change all file's in pivot it self and upload image and so there's no problem.
Second is to find out how to set .htaccess.
I will post on that later.