On Dec 31 2008, 11:53 pm, "Mario César" <[email protected]> wrote: > On Wed, Dec 31, 2008 at 4:22 PM, Fernando Jiménez Solano > > <[email protected]> wrote: > > Hello. > > > You may want to check hgwebdir.cgi. It's the proper way to share a > > mercurial repository via http. There's a how to for Apache at the > > mercurial site, but doing it for Cherokee is pretty straightforward. > > > I have that Cherokee+hgwebdir setup running, so you can ask me if you > > find any difficulties. > > I deploy mercurial using hgwebdir.cgi, it's quite easy. Follow the > documentation for setup mercurial using cgi on lighttpd on the > mercurial docs. > > I remember Alvaro create a wonderful new rule to handle POST and PUT > as rules :) this ways handle a setup as the mercurial documentation > says. Give a look to > thishttp://lists.octality.com/pipermail/cherokee/2008-November/009197.html
( I'm using cherokee 0.11.6 from gentoo portage and hg 0.11.1 ) I've originally tried to use it with the cgi script but on regexp it didn't work. Now I've tried with directory ( talking about Rules here ) and went a bit further. Have it working, but with the script name ( http://baptop.yllq.net/hg/hgwebdir.cgi ). Now how to make it work with 'nice' urls ? I've added the script alias to point to the hgwebdir.cgi via absolute path and relative ( to Working Dir ); both give the same thing (Connection Interrupted). Cheerio Mateusz _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
