Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here's a alternative setup using mod_wsgi (fast!), combined repository directory, and you can manage Mercurial repository level access from the VisualSVN Server GUI.</p> <p>Download <a href="http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-win32-ap22py26-3.0.so" rel="nofollow noreferrer">mod_wsgi.so for Apache 2.2 Win32</a> and place in "C:\Program Files\VisualSVN Server\bin".</p> <p>Copy hgwebdir.wsgi from your Mercurial installation (contrib directory) to "C:\Program Files\VisualSVN Server\". It should look something like this:</p> <pre><code>import sys sys.path.insert(0, "C:\Program Files\Mercurial\library") from mercurial.hgweb.hgwebdir_mod import hgwebdir application = hgwebdir('hgweb.config') </code></pre> <p>Create the config file "C:\Program Files\VisualSVN Server\hgweb.config".</p> <pre><code>[paths] / = c:/Repositories/* </code></pre> <p>Paste the following in "C:\Program Files\VisualSVN Server\conf\httpd-custom.conf". You should adjust the Auth* values based on the section of httpd.conf.</p> <pre><code>LoadModule wsgi_module bin/mod_wsgi.so WSGIScriptAlias /hg "hgwebdir.wsgi" &lt;Location /hg/&gt; AuthName "Mercurial Repositories" AuthType VisualSVN AuthzVisualSVNAccessFile "C:/Repositories/authz-windows" AuthnVisualSVNBasic on AuthnVisualSVNIntegrated off AuthnVisualSVNUPN Off SVNParentPath "C:/Repositories/" require valid-user &lt;/Location&gt; </code></pre> <p>Create a Mercurial repository:</p> <pre><code>hg init C:\Repositories\hgtest </code></pre> <p>You should now be able to access /hg through your browser, and manage repository level authorization through the VisualSVN Server tool.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload