hgwebdir.cgi failing
Igor Kostenko
isanych at gmail.com
Tue Sep 2 15:24:07 CDT 2008
Hi Robert,
> Minor improvement.
> I now receive an empty list. But there is a list at least.
> Is this the correct syntax for my config file?
> [collections]
> /repos/ty2008 = c:\repos\ty2008\
>
> If it is the correct syntax for my config file, what is the URL that I should
be using to access my list of
> repositories given my Apache directory config looks like...
>
> WSGIScriptAliasMatch ^/hg(.*) /repos/cgi/hgwebdir.wsgi$1
> <Directory /repos/cgi>
> Options ExecCGI FollowSymLinks
> Order allow,deny
> AllowOverride All
> Allow from all
> AddHandler cgi-script .cgi
> </Directory>
>
> I have tried the following
> /hg/ - empty list
> /hg/ty2008/ - 500 Error
> /hg/repos/ty2008/ - 500 Error
It should be
[collections]
c:\repos\ty2008 = c:\repos\ty2008
or
[collections]
c:\repos = c:\repos
But [collections] doesn't work on windows. Use my hgwebdir.wsgi from my topic
"hgwebdir collection on windows" or change hgwebdir_mod.py as I suggested there
or use [paths] instead of [collections]
WBR, Igor
More information about the Mercurial
mailing list