Okay solved it!  I am not aware of any wizard for Mercurial.  I just put in
a directory rule with a script alias to the cgi file.  It turns out that
although I put the script name in there, and saved it, it did not stick for
some reason.  After I re-entered it, things worked fine.  Your clue about
the full path caused me to double check that.

This is my first time trying Cherokee out, and I like it.  However, I only
use Linux and Chrome or FireFox.  I seem to have some trouble with the UI
pop up boxes.  Sometimes I have to press the buttons twice to get anything
to happen, and sometimes changes do not seem to stick.  Other than that, I
am excited about Cherokee.

Next up is htpass files.

Thanks!

TonyZ


On Mon, May 24, 2010 at 2:03 PM, Diego Schulz <[email protected]> wrote:

> On Mon, May 24, 2010 at 3:45 PM, Tony Zakula <[email protected]> wrote:
> > 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
> >
>
>
> File/directory permissions and effective id/gid of the cherokee-worker
> process seems correct.
> What doesn't look correct is what the debug suggests:
>
> X-Debug: file=handler_cgi.c line=642 cmd=/var/www/hg/repos: Permission
> denied
>
> I think "cmd" possibly should be set to
> "/var/www/hg/repos/hgwebdir.cgi"  (full path to the cgi, not the
> directory that contains it).
>
> I haven't really seen at the cherokee wizard for Mercurial, so I don't
> know what values are asked for in the form. (I don't even know if
> there's any form to fill at all, sorry). If there's a field or
> configuration currently set to "/var/www/hg/repos", try to replace
> with "/var/www/hg/repos/hgwebdir.cgi" and see what happens.
>
> regards,
>
> diego
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to