svn:/var/www/hg# ps aux | grep cherokee root 13959 0.0 0.1 11696 1168 ? Ssl 18:20 0:00 /usr/sbin/cherokee --admin_child -C /etc/cherokee/cherokee.conf www-data 13963 0.0 0.2 37572 2872 ? Sl 18:20 0:00 /usr/sbin/cherokee-worker --admin_child -C /etc/cherokee/cherokee.conf root 14176 0.0 0.0 1776 552 pts/1 S+ 18:45 0:00 grep cherokee root 19805 0.0 0.1 4364 2020 pts/0 S+ May21 0:00 cherokee-admin -b root 19806 0.0 0.9 28756 9820 pts/0 S+ May21 0:07 python /usr/share/cherokee/admin/server.py /tmp/cherokee-admin-scgi.socket /etc/cherokee/cherokee.conf
On Mon, May 24, 2010 at 1:39 PM, Diego Schulz <[email protected]> wrote: > On Mon, May 24, 2010 at 3:27 PM, Tony Zakula <[email protected]> wrote: > > Hi, > > I am trying to setup Mercurial on the latest Cherokee on a debian server. > I > > followed a list question, and here are the steps I have taken so far. > > > >> 1.- Create /var/www/hg directory > >> 2.- Create /var/www/hg/repos directory > >> 3.- Copy hgwebdir.cgi to /var/www/hg > >> 4.- chmod a+x hgwebdir.cgi > >> 5.- Create /var/www/hg/hgweb.config file: > >> [collections] > >> ./repos/ = /var/www/hg/repos/ > >> [web] > >> style = gitweb > >> > >> 6.- chown www-data:www-data -R /var/www/hg/ > >> 7.- Added new rule to default Virtual Server. > >> Type: Directory > >> Web Directory: /hg > >> Handler: CGI > > > > When I make a request to the server/hg/ I get the following error: > > > > X-Debug: file=handler_cgi.c line=642 cmd=/var/www/hg/repos: Permission > > denied > > > > It must be something simple. Any ideas? > > > > I'd also look the effective id:gid of the cherokee-worker process, it > may or may not run as www-data:www-data. > > $ ps aux | grep cherokee > > regards, > > diego >
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
