PDA

View Full Version : Setting the vhost root to /home/user doesn't work...


travisbell
08-13-2007, 08:28 AM
I am trying to set up a new vhost and am attempting to use the phpSuexec template.

Upon entering the details, and the root folder as "/home/user/Public" I get an error:


Warning: is_dir() [function.is-dir]: Stat failed for /home/user/Public (errno=13 - Permission denied) in /opt/lsws/admin/html.3.2/classes/ConfValidation.php on line 571


/home/user/Public is chmod'ed to 0777 so I have no idea what this would be happening. On top of that, both the user and LiteSpeed are part of the same group.

Any ideas?

mistwang
08-13-2007, 08:48 AM
Please check the permission of /home/user directory to make sure that the user that server run as can access it.

travisbell
08-13-2007, 09:16 AM
Ok, this one was a perms problem with /home which I fixed by allowing the group to read and write. Read only still errored, but this group has next to no privileges so it's not a big deal.

Thanks,