WebSVN install on IIS 6.0
I am trying to set up WebSVN on a Windows Server 2003 machine and not having any luck. I have done the following:
- Installed FastCGI
- Installed PHP 5.3.1.0 to c:\PHP
Updated php.ini with the following:
cgi.force_redirect = 0 cgi.fix_pathinfo = 1 fastcgi.impersonate = 1 fastcgi.logging = 0
Downloaded and extracted WebSVN 2.3.0 to D:\myWebRoot\websvn
- Copy distconfig.php to config.php
Added the following:
$config->setSVNCommandPath('c:\Program Files\Subversion\bin'); $config->setDiffPath('C:\Program Files\FogBugz\accessories'); $config->addRepository('Documents', 'https://myServer>/myDir/Docs)', null, 'myDocsUser', 'myDocsPassword');
When I browse to URL myServer//websvn, I get the following error:
Error running this command: "c:\Program Files\Subversion\b开发者_如何学Pythonin\svn" --version --config-dir /tmp
Any ideas?
The problem could be your SVN software version.See WebSVN requeriments :
WebSVN version SVN version 2.3.x 1.4 or higher (usage of "@PEG"-revision) 2.2.x 1.4 or higher (usage of "@PEG"-revision) 2.1.0 1.2 or higher (usage of "svn list --xml") <= 2.0 any (?)
I had the same problem. You need to grant permission to the cmd.exe in your system32 folder to IUSR_. I'm stuck at the next part, which is getting WebSVN to use the SVN authorization, not anon-access.
精彩评论