[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Invalid command 'SVNMasterURI' in configuring svn write-through

From: WilliamBai <snowingbear_at_gmail.com>
Date: Fri, 17 Jan 2014 20:07:02 -0800 (PST)

Hi:

I encounter the following error when configuring the slave machine of svn
write-through, Could you give some suggestions?
----------------------------------------------------------------------------------------------------
[root_at_FiOS-DL120-10 ~]# apachectl start
[Fri Jan 17 22:51:19 2014] [warn] module dav_svn_module is already loaded,
skipping
[Fri Jan 17 22:51:19 2014] [warn] module authz_svn_module is already loaded,
skipping
Syntax error on line 5 of /etc/httpd/conf/extra/httpd-svn.conf:
Invalid command 'SVNMasterURI', perhaps misspelled or defined by a module
not included in the server configuration
----------------------------------------------------------------------------------------------------
I have loaded mod_dav_svn.so, mod_authz_svn.so, mod_proxy.so,
mod_proxy_http.so.
----------------------------------------------------------------------------------------------------
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
----------------------------------------------------------------------------------------------------
And My added configuration part
----------------------------------------------------------------------------------------------------
[root_at_FiOS-DL120-10 ~]# cat /etc/httpd/conf/extra/httpd-svn.conf
<Location /svn>
DAV svn
SVNListParentPath On
SVNParentPath /data/svn_repo
SVNMasterURI http://192.168.2.12/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/subversion/conf/svn_passwdfile
AuthzSVNAccessFile /etc/subversion/conf/svn_accessfile
Require valid-user
</Location>

<Location /svn-proxy-sync>
DAV svn
SVNListParentPath On
SVNParentPath /data/svn_repo
Order deny,allow
Deny from all
Allow from 192.168.2.12
</Location>
------------------------------------------------------------------------------------------------------
When I use commented the SVNMasterURI, httpd could start normally, and I
could see the required modules have been loaded(apachectl -M).
--------------------------------------
 dav_module (shared)
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_connect_module (shared)
 dav_svn_module (shared)
 authz_svn_module (shared)
--------------------------------------

The httpd version is 2.4.7 and the subversion(1.7.14 and 1.8.5) all have
such problems. My System is REHL5.3. And I use the following commands to
compile httpd and subversion.
httpd:
./configure --prefix=/usr --sysconfdir=/etc --enable-so --enable-dav
--enable-dav-fs --enable-maintainer-mode --with-included-apr
--enable-rewrite --enable-ssl --enable-proxy --enable-proxy-http

subversion
./configure --prefix=/usr --with-apxs=/usr/bin/apxs
--with-apr=/usr/bin/apr-1-config --with-apr-util=/usr/bin/apu-1-config

Have you encounter such problems before or could you give me some
suggestions? Thank you.

BRs
William

--
View this message in context: http://subversion.1072662.n5.nabble.com/Invalid-command-SVNMasterURI-in-configuring-svn-write-through-tp186659.html
Sent from the Subversion Users mailing list archive at Nabble.com.
Received on 2014-01-18 05:27:46 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.