#ServerRoot "/usr/local/apache2" #Listen 80 # # # # #LoadModule dir_module modules/mod_dir.so #LoadModule alias_module modules/mod_alias.so # #User daemon #Group daemon # #LoadModule proxy_module modules/mod_proxy.so #LoadModule proxy_http_module modules/mod_proxy_http.so ProxyPass / http://redmine:3000/ LoadModule perl_module modules/mod_perl.so ## This module has to be in your perl path ## eg: /usr/lib/perl5/Apache/Authn/Redmine.pm PerlLoadModule Apache::Authn::Redmine #LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so DAV svn SVNParentPath "/var/svn" AuthType Basic AuthName redmine Require valid-user PerlAccessHandler Apache::Authn::Redmine::access_handler PerlAuthenHandler Apache::Authn::Redmine::authen_handler ## for mysql RedmineDSN "DBI:mysql:database=redmine;host=db" RedmineDbUser "root" RedmineDbPass "redminedbpassword" ## Optional where clause (fulltext search would be slow and ## database dependent). # RedmineDbWhereClause "and members.role_id IN (1,2)" ## Optional credentials cache size # RedmineCacheCredsMax 50 #To be able to browse repository inside redmine, you must add something #like that : DAV svn SVNParentPath "/var/svn" Order deny,allow Deny from all # only allow reading orders Allow from redmine #ServerAdmin you@example.com # # AllowOverride none # Require all denied # #DocumentRoot "/usr/local/apache2/htdocs" # # Options Indexes FollowSymLinks # AllowOverride None # Require all granted # # # DirectoryIndex index.html # # # Require all denied # ErrorLog /proc/self/fd/2 LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio CustomLog /proc/self/fd/1 common # # ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" # # # # # AllowOverride None # Options None # Require all granted # RequestHeader unset Proxy early # # TypesConfig conf/mime.types # AddType application/x-compress .Z # AddType application/x-gzip .gz .tgz # # #Include conf/extra/proxy-html.conf # # #SSLRandomSeed startup builtin #SSLRandomSeed connect builtin #