Hello David, On Mon, Mar 17, 2014 at 6:39 PM, <david.berger...@gmail.com> wrote: > WEBSVN doenst work > > Hi, > > i hope i am right here. > > I am new to VSVN, and read a lot of Documentation, also of WEB SVN. > > Now i have to install Visual SVN with Web SVN on the same Window Maschine. > > I read, that there are different problems with VSVN Apache and php, but i > got this running for now. > > Visual SVN ist also running and i can acces my Test Repos. > The Problem is, that Web SVN isnt running. > To get this running i edit following configuration: > > D:\Program Files (x86)\VisualSVN Server\conf\httpd-custom.conf > > Code: > > #BEGINPHP INTSALLER EDITS > > LoadModule php5_module "D:/php/php5apache2_2.dll" > AddType application/x-httpd-php .php # configure the path to php.ini > PHPIniDir "D:/php" > <IfModule dir_module> > DirectoryIndex index.html index.php > </IfModule> > > <Location /websvn/> > Options FollowSymLinks > AuthType Basic > AuthName "Subversion Repository" > Require valid-user > AuthUserFile "D:/Repositories/htpasswd" > AuthzSVNAccessFile "D:/Repositories/VisualSVN-GlobalWinAuthz.ini" > SVNListParentPath on > SVNParentPath "D:/Repositories/" > </Location> > > D:\Program Files (x86)\VisualSVN Server\htdocs\websvn\include\config.php > > Code: > > $config->setSVNCommandPath('D:\\Program Files (x86)\\VisualSVN > Server\\bin'); > $config->setDiffPath('D:\\cygwin\bin'); > $config->setEnscriptPath('D:\\cygwin\bin'); > $config->setSedPath('D:\\cygwin\bin'); > $config->setTarPath('D:\\cygwin\bin'); > $config->setGZipPath('D:\\cygwin\bin'); > $config->setZipPath('D:\\cygwin\bin'); > $config->parentPath('D:\\repositories'); > > but when i try to open localhost/websvn, there is: "The webpage cannot be > found" > localhost/svn works fine. > > trying to acces https://localhost/websvn/test (test is my test repo) " > The website declined to show this webpage " > > the only indicator i see is in Windows Event Viewer, there is one error > listed in SVN Log: > > Code: > > File does not exist: svn:D:/Repositories > [client ::1] > > Anyone know this error? Or did i forget to Configure something?
You can use WebSVN with VisualSVN Server repositories. However you must host WebSVN on separate Apache HTTP Server instance, not on the one which comes with VisualSVN Server. Apache HTTP Server instance that is included with VisualSVN Server is strongly isolated and it not intended to run web applications. In fact, it's not required to modify VisualSVN Server's configuration to be able to connect WebSVN to it's repositories. If you want to run WebSVN (or any other SVN web interface) with VisualSVN Server, I advise you to follow these basic steps: 1. Install separate Apache HTTP Server instance, 2. Setup WebSVN prerequisites (e.g. PHP module), 3. Setup WebSVN to run on the new Apache HTTP Server instance, 4. Configure WebSVN to access VisualSVN Server repositories directly on filesystem. In other words, in WebSVN's configuration file "\include\config.php" you have to specify the line for each repository: [[ $config->addRepository('MyRepoName', 'file:///C:/Repositories/MyRepo'); ]] And specify authorization file for each repository like this: [[ $config-> useAuthenticationFile('C:/Repositories/MyRepo/conf/VisualSVN-SvnAuthz.ini','MyRepoName'); ]] Depending on authentication type you use (Windows or Subversion) the name of authorization file varies: * "VisualSVN-SvnAuthz.ini" -- for Windows authentication, * "VisualSVN-WinAuthz.ini" -- for Subversion authentication. I regret to say that I can't provide you with more complete instruction about installing WebSVN. Please refer to WebSVN's documentation which is available in it's archive in "/doc/install.html" and "/include/distconfig.php" files. Thanks. -- With best regards, Pavel Lyalyakin VisualSVN Team -- You received this message because you are subscribed to the Google Groups "VisualSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to visualsvn+unsubscr...@googlegroups.com. To post to this group, send email to visualsvn@googlegroups.com. Visit this group at http://groups.google.com/group/visualsvn. For more options, visit https://groups.google.com/d/optout.