so to clarify, you might want to chmod 750 <thedirectory> and then chown username:www-data <your dir> . Or something similar.
On Mon, Nov 9, 2009 at 5:28 AM, Gunnar Wolf <[email protected]> wrote: > Leonel Nunez dijo [Sun, Nov 08, 2009 at 07:29:44PM -0700]: >> > I use Cherokee on my laptop for some local wikis and test sites, and >> > always had all the sites in my /home directory. So far, that worked >> > fine. But since I upgraded to Ubuntu 9.10, the Virtual Hosts that point >> > to directories under my /home directory do not work anymore. >> > >> > If I copy one of these sites to /var/www, everything works fine, so >> > Cherokee seems to be working properly. >> > >> > The only thing I changed with the new Ubuntu version was the encryption >> > of my /home directory. Before, I did not use encryption. Could this be >> > the reason why Cherokee cannot access any site I have in /home? >> > >> > And if so, is there anything I can do? I'd like to keep these sites in >> > my /home directory, if possible. >> >> >> Cherokee is running as the www-data user that's why cherokee can't access >> your files >> >> so try running cherokee as your user > > Or rather, give the www-data user the rights to get to the directories > in question. Try _not_ to run the server as any user with permissions > to do anything other than what is really needed! > > -- > Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244 > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > -- Random quote of the week/month/whenever i get to updating it: "Quis custodiet ipsos custodes?": "who shall watch the watchers themselves?" - Juvenal _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
