Problems with hgwebdir

Martin Marques martin at marquesminen.com.ar
Mon Feb 4 11:49:09 CST 2008


Adis Nezirovic escribió:
> On Sat, Feb 02, 2008 at 04:29:30PM -0200, Martin Marques wrote:
>> Martin Marques escribió:
>>> Matt Mackall escribió:
>>>>> Should I get the .cgi file from the crew-stable repo?
>>>> Yes.
>>> OK, past to the cgi from the crew and I changed everything to work with cgi:
>>>
>>> <VirtualHost hg.marquesminen.com.ar:80>
>>>      ServerAdmin webmaster at marquesminen.com.ar
>>>      DocumentRoot /var/www/hg/
>>>
>>>      ScriptAliasMatch	^/(.*)		/var/www/hg/hgwebdir.cgi$1
>> Responding to myself, this was wrong. It should be:
>>
>>       ScriptAliasMatch	^/(.*)		/var/www/hg/hgwebdir.cgi/$1
> 
> Or should it be:
>   ScriptAliasMatch  ^(.*)          /var/www/hg/hgwebdir.cgi$1
> 
> (btw, both methods mentioned in 'PublishingRepositories' use this
> syntax.)

Thank for the this page. I was reading the HgWebDirStepByStep.

Anyways, not very experienced python web developer, but why doesn't 
hgweb work as a mod_python implementation?


More information about the Mercurial mailing list