Hosting Mercurial HG via VisualSVN Server

后端 未结 4 960
鱼传尺愫
鱼传尺愫 2021-02-04 20:49

I have tried to host a Mercurial HG repository using a Scriptalias.

ScriptAlias /hg/ \"htdocs/hgwebdir.cgi\"

If I go to Chrome it display the contents of the cgi

4条回答
  •  礼貌的吻别
    2021-02-04 21:13

    You can run hgwebdir behind different authentication and https modules just fine, provided your webserver handles them before the REMOTE_USER variable is handed off to the CGI.

    I don't know visualsvn, but your ScriptAlias looks a lot like Apache. Do you need an AddHandler line for .cgi?

提交回复
热议问题