The expectation is that websvn is configured for multiviews. I have attached
the install text from websvn that discusses multiviews:
You may choose to configure access to your repository via Apache's MultiView
system. This will enable you to access a respositoy using a url such as:
To do this you must:
- Place wsvn.php where you want to. Normally you place it such that it's
accessible straight after the servername, as shown above.
- Configure the parent directory of wsvn.php to use MultiViews (see Apache
- Change config.inc to include the line $config->useMultiViews();
- Change the paths configured at the beginning of the wsvn.php script.
Now go to http://servername/wsvn/ and make sure that you get the index page.
The repname part of the URL is the name given to it in the config.inc file.
For this reason you may wish to avoid putting spaces in the name.
First, you must get the Multiviews option working. In my set up, my Apache
directory root is set to a location on my harddrive:
In that directory, I have WebSVN installed in a directory called websvn.
Normally WebSVN would be accessed by http://servername/websvn
wsvn.php in then copied from the WebSVN installation to the document root
directory and the variables at the beginning of the script configured as
follows (based on your own directory locations, obviously):
// Location of websvn directory via HTTP
// e.g. For http://servername/websvn use /websvn
// Note that wsvn.php need not be in the /websvn directory (and normally isn't).
$locwebsvnhttp = "/websvn";
// Physical location of websvn directory
$locwebsvnreal = "d:/svnpage/websvn";
Next, turn on Multiviews in the WebSVN config.inc file:
Finally, Apache needs to know that you want to enable MultiViews for the root
directory. This can be done by including this line in the directory's
.htaccess file (assuming that the appropriate AllowOverrides directive is set
If all has gone well, repositories should now by accessible by