开发者

Can't find mod_authz_svn.so while restarting apache2

I tried to install and setup a svn server using apache2, I 开发者_如何学编程followed instructions on internet but while i tried to restart apache2 it shows the following error:

apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authz_svn.load: Cannot load /usr/lib/apache2/modules/mod_authz_svn.so into server: libsvn_repos-1.so.0: cannot open shared object file: No such file or directory Action 'configtest' failed.

i checked the path but the file do exist,im not sure what is happening. need some help thanks~


Based on your pathes, it looks like you are playing debian or ubuntu config. if I remember well, this module *mod_authz_svn.so* is available with libapache2-svn, so you need first to apt-get this module as root, and then to enable it (being in the directory /etc/apache2, *a2enmod my_module*) and reload your apache config (or restart apache).

The other way around is to load the module as a DSO. Then it's a different process.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜