Muhammad Salman Farooq
Muhammad Salman Farooq

Reputation: 1325

Cannot load mod_dav_svn.so on Apache 2.0

I am using Subversion for Apache 2.0

I copied following two files from Subversion/bin to Apache/modules:

-mod_dav_svn.so
-mod_authz_svn.so

And I copied the following lines to the httpd.conf file:

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

# Configure Subversion repository
<Location /svn>
    DAV svn
    SVNPath "C:\svn"
    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile "c:\svn_conf\passwd"
    Require valid-user
</Location>

When I try to run Apache, it gives me the following error:

httpd.exe: Syntax error on line 141 of C:/xampp/apache/conf/httpd.conf: Cannot l
oad modules/mod_dav_svn.so into server: The specified procedure could not be found.

I have been searching hours for the solution to the problem, but I am unable to fix it. How can I fix that problem and make Apache running?

Upvotes: 1

Views: 10621

Answers (2)

sidhant pradhan
sidhant pradhan

Reputation: 51

Directly give the absolute path for mod_dav_svn.so and mod_authz_svn.so from Subversion, instead of copying these file from subversion/bin into apache/bin.

Upvotes: 3

mably
mably

Reputation: 161

Remember that you have to uncomment these two modules in your httpd.conf:

LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_module modules/mod_dav.so

Upvotes: 2

Related Questions