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 this
http://lists.octality.com/pipermail/cherokee/2008-November/009197.html



> 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
>



-- 
Mario César Señoranis Ayala.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to