Blog Linux

subversion initialization error

After installing subversion, I hit some error when I tried to restart Apache. When I removed/renamed the subversion.conf and the error went away. Obviously, subversion did not work. So I investigated to find out the root cause.

Here's two of the errors I encountered.


  1. Cannot load /etc/httpd/modules/mod_dav_svn.so

  2. Invalid command 'AuthUserFile'

Solution


Uncomment the following lines in httpd.conf

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

It turned out that I commented these files to limit the number of modules loaded on Apache. I'm only loading the bare minimum so that WordPress would run properly on my VPS.