0

svnとwebDavでApacheサービスを開始しようとすると、次のエラーメッセージが表示されます。

Syntax error on line 120 of /etc/apache2/mods-enabled/dav_svn.conf:
Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.

115〜125行目:

<Location /svn>
     DAV svn
     SVNParentPath /var/svn/teste
     SVNListParentPath On
     AuthType Basic
     AuthName "myproject subversion repository"
     AuthUserFile /etc/apache2/senhas
     <LimitExcept GET PROPFIND OPTIONS REPORT>
        Require valid-user
     </LimitExcept>
</Location>

mod_authを検索しましたが、彼が見つかりません。これをどのように修正しますか?

私はubuntuとapache2を使用しています

4

1 に答える 1

0

authn_file Apache モジュールが有効になっていることを確認します。

Debian/Ubuntu サーバーでこれを行うには、a2enmod authn_fileApache を発行してから再起動します。

于 2012-11-28T13:56:21.697 に答える