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. Regards. On mié, 2008-12-31 at 09:13 -0800, Mateusz Pawlowski wrote: > Hi, > > I'm working with Mercurial and wanted to have my repositories visible > on http. > It's damn easy, just "hg serve" and it spawns own http servers and > serves nicely. > > Now, idea was make it available via simple reverse proxy. Cherokee > should do it. > > I've created an information source: host : localhost:8000 > I've created /hg ( directory ) target under default virtual host, made > it Reverse Proxy, added simple RegExp for rewriting: ^/hg/(.*)$ /$1 > > Now, I can see on my hg serve console that all requests are translated > correctly. The only problem, is that when browser tried to get whole > document it gets connection interrupted and I see nothing, sometimes > some partial HTML > > Any idea what is wrong ? Why it interrupts the connection? > > Cheerio > Mateusz > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > -- Fernando Jiménez Solano <[email protected]> _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
