2009
07.17
07.17
This assumes you have your SVN in another server.
- Install PHP on your IIS using the web installer at http://php.iis.net/. Don’t do anything else. Yes, I know there are some articles out there where you need to tinker with some settings using FastCGI or some crap like that. IGNORE THOSE.
- Grab the latest WebSVN zip and uncompress the files in %windir%\inetpub\iisroot\websvn
- Download and install SlikSVN for the SVN binaries
- Add your local admin to have full control on %windir%\inetpub\iisroot\websvn
- Set local users to have full control on %windir%\inetpub\iisroot\websvn\cache (because it’s not full control by default). this folder is used by WebSVN to cache the RSS feeds it creates.
- copy %windir%\inetpub\iisroot\websvn\includes\distconfig.php to config.php. Edit with your favorite text editor and change the following lines:
$config->setSVNCommandPath('C:\\Program Files\\SlikSvn\\bin');
$config->addRepository('LOLCats Rule', 'svn://path_to_your_repository/',
NULL, 'your_svn_repo_username', 'your password');
And that’s it. when you go to http://your-server-name/websvn/ you should see your brand spankin’ new SVN repository.
Thanks for the post. I had a little different experience and I thought I’d share for anyone else who might find it useful.
I am running VisualSVN server in https mode, and WebSVN would not connect to my repository without a valid certificate. The workaround was to enable the svn:// protocol on my VisualSVN server, which apparently is not supported in the latest distribution. Here are the instructions I used: http://skysigal.xact-solutions.com/Blog/tabid/427/EntryId/380/VisualSVN-Server-http-protocol-is-much-slower-than-svn-protocol-hellip.aspx
Thank you for posting this instruction. I have a question: If I already have tortoisesvn installed in my windows, do I need to do this step?
* Download and install SlikSVN for the SVN binaries
Thank you!
Lynda
lynda:
the idea is to be able to use an SVN executable. i’m not sure if Tortoise has the SVN command line binaries packaged…i think it doesn’t because i also use Tortoise, but i could be wrong (i don’t have access to my Windows machine as i type this).
thanks for dropping by.
Thank you! I guess I need to install it. I have been searching for information on how to install WebSVN on windows. Your instruction is the best.
Merry Christmas and a Happy New year!
Lynda