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

Reply via email to