/var/www/html -> /home/username/public_html
I deleted the html dir in /var/www and made a symbolic link to my web visible user directory. this seemed like an easy way to write to the dir and keep my sytem safe. What do you think?
Also, I have ./public_html/blog where i have a php app installed and it wants to write to ./public_html/bin. However, I want to have username be able to read/write/execute his own stuff.
./public_html/bin was owned by username with group set to username.
So i did the following:
and the files are being created by apache with group set to apache. this is a problem since username is not, and should not, be a member of the apache group! ideas?
chown apache bin; chmod 775 bin;