Apache can be used as an access method for things like svn, trac, and even a whole file system through webdav. And apache also supports authentication through LDAP. Hence Apache can be used to authenticate the services that it provides through LDAP.
It said that the error occurs when some cms meddles with the way non existent file message (404) is shown. This,… was my case. (Thanks to my Praygan CMS). So then I changed my document root to /var/www/svn.
Then with
1 2 3 4 5 6 7 8
<VirtualHost *:80> ServerName repos.nitt.edu DocumentRoot "/var/www/svn"</pre> I got an error <pre><span style="color:#ff0000;">RA layer request failed svn: PROPFIND request failed on '/pragyan' svn: PROPFIND of '/pragyan': 301 Moved Permanently (http://repos.nitt.edu) </span>
It said that the error occurs because, when configuring SVN to work with httpd, the virtualhost document root shouldn’t contain the repository location (or httpd gets confused or something). My repos location was /var/www/svn/pragyan (which was within Document root). I simply changed the DocumentRoot to /var/www/svn/DocumentRoot and all started working well again.