Код: Выделить всё
Starting httpd: Syntax error on line 1097 of /etc/httpd/conf/httpd.conf:
Invalid command 'RedmineDSN', perhaps misspelled or defined by a module not included in the server configuration
Код: Выделить всё
/usr/lib64/perl5/Apache2/
Модератор: weec
Код: Выделить всё
Starting httpd: Syntax error on line 1097 of /etc/httpd/conf/httpd.conf:
Invalid command 'RedmineDSN', perhaps misspelled or defined by a module not included in the server configuration
Код: Выделить всё
/usr/lib64/perl5/Apache2/
Код: Выделить всё
PerlLoadModule Redmine
<VirtualHost ip:80 >
ServerName домен
CustomLog /var/www/httpd-logs/svn.access.log combined
DocumentRoot /home/svn/
ErrorLog /var/www/httpd-logs/svn.error.log
<Location /svn >
DAV svn
SVNListParentPath on
# настраиваем авторизацию
AuthType Basic
AuthName redmine
Require valid-user
# подключаем скрипт Redmine.pm
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
## для mysql
RedmineDSN "DBI:mysql:database=имя базы;host=localhost"
## для postgres
# RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server"
## для SQLite3
# RedmineDSN "DBI:SQLite:dbname=database.db"
# логин и пароль для доступа к Базе Данных Redmine
RedmineDbUser "пользователь базы"
RedmineDbPass "пароль к базе "
</Location>
<Location /svn-private>
DAV svn
SVNParentPath "/home/svn/"
Order deny,allow
Deny from all
<Limit GET PROPFIND OPTIONS REPORT>
Allow from 127.0.0.1
</Limit>
</Location>
</VirtualHost>
Код: Выделить всё
ruby /var/www/.../reposman.rb --redmine домен --svn-dir /home/svn --owner apache --url http://домен/svn-private/ --key=ключ апи --verbose
Код: Выделить всё
svn ls http://домен/svn/test
Код: Выделить всё
svn: Could not open the requested SVN filesystem
Код: Выделить всё
svn ls http://домен/svn/
Код: Выделить всё
Authentication realm: <http://домен:80> Redmine SVN Repository
Код: Выделить всё
Select or update the Redmine user mapped to each username found in the repository log.
Users with the same Redmine and repository username or email are automatically mapped.