I have virtual hosting on my apache2, working great but I couldn't create file inside virtual home directory..always says" permission denied"
This is what I did :
As root I did :
Code:#useradd -g john www #chown -R www:john /home/www/reality.test.com #chmod 755 /home/www/reality.test.com exit $cd /home/www/reality.test.com $touch test $touch: cannot touch `test' : permission denied $ls -l drwxr-xr-x www john 4096 2006-07-04 10.45 htdocs $
Ok I even change permision to chmod 777 /home/www/reality.test.com (as a test) but still got "permission denied" problem.
BTW what is the secure permission for virtual hosting directory?