I am trying to install WebSVN. Everything worked fine so far but my repositories are not recognized.
Inside my user folder /home/svn
(svn
is the user name) I have several repositories and I want all of them to appear in WebSVN.
This is my config.php
:
<?php
$config->setSVNCommandPath('/usr/bin');
$config->setDiffPath('/usr/bin');
$config->setEnscriptPath('/usr/bin');
$config->setSedPath('/bin');
$config->setTarPath('/bin');
$config->setGZipPath('/bin');
$config->parentPath('/home/svn');
$config->addTemplatePath($locwebsvnreal.'/templates/calm/');
$config->addTemplatePath($locwebsvnreal.'/templates/BlueGrey/');
$config->addTemplatePath($locwebsvnreal.'/templates/Elegant/');
$config->addInlineMimeType('text/plain');
$config->setMinDownloadLevel(2);
$config->useGeshi();
set_time_limit(0);
$config->expandTabsBy(8);
$extEnscript[".pl"] = "perl";
$extEnscript[".py"] = "python";
$extEnscript[".sql"] = "sql";
$extEnscript[".java"] = "java";
$extEnscript[".html"] = "html";
$extEnscript[".xml"] = "html";
$extEnscript[".thtml"] = "html";
$extEnscript[".tpl"] = "html";
$extEnscript[".sh"] = "bash";
If I open WebSVN in a browser, it shows an HTTP ERROR 500
. If I change the line $config->parentPath('/home/svn');
to $config->parentPath('/home');
it keeps telling me:
Please set up a repository in include/config.php using $config->parentPath or $config->addRepository. See the installation guide for more details.
Am I missing something?