All pastes #284942 Raw Edit

Subverion

public text v1 · immutable
#284942 ·published 2006-12-19 13:38 UTC
rendered paste body
hello , everybody 

i installed apache with, svn 1.4, 

these are part my apache conf.  httpd.conf

DocumentRoot "/var/www/html"

##Svn location
<Location /repos>
  DAV svn
  SVNPath /usr/local/project1
  AuthType Basic
  AuthName "Tagger" 	 	
  AuthUserFile /etc/svn-auth-file
  Require valid-user
</Location>


when enable the Document Root, and execute the following command i getting this error .
  
[root@linux1 project1]# svn list http://192.168.100.78/repos
svn: PROPFIND request failed on '/repos'
svn: PROPFIND of '/repos': 301 Moved Permanently (http://192.168.100.78)

when i comment the 
#DocumentRoot "/var/www/html" in httpd.conf
and proceed with subversion path  as in <Location>..</Location>  its working perfect ..  
see this..
[root@linux1 ~]# svn list http://192.168.100.78/repos
aa.php
curlD1.php
curlD2.php
curlD3.php
curlD4.php
data.xml
ravi/
test1.php
test2.php
test3.php
test4.php
test5.php
test6.php
test7.php
test8.php
utfdd.php
utfenc.php
xmltest.xml
xmltest2.php
xmltest2.xml


because of this issues,  my apache either supports svn or act as a local webserver supporting localhost.. But i need both to be worked so that.. other nodes can share repositary, i could cork on the localhost. 

when i enable these two at a time apache get confussed please help..