LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so #Uncomment this to load MAG, comment out the previous line (authz_svn module) #and make sure the authz_snv_module is not loaded in /etc/httpd/conf.d/subversion.conf #LoadModule auth_gforge_module modules/mod_auth_gforge.so # For Git repositories SetEnv GIT_PROJECT_ROOT "/gitroot" SetEnv GIT_HTTP_EXPORT_ALL ServerName gforge.ifce.edu.br DocumentRoot /opt/gforge/www ErrorDocument 404 /404.php Options Indexes FollowSymLinks Multiviews Order allow,deny allow from all ForceType application/x-httpd-php # # mailman settings - may have to adjust # ScriptAlias /mailman /usr/lib/mailman/cgi-bin RewriteEngine on RewriteRule ^/pipermail / [R=permanent] # Alias /pipermail /var/lib/mailman/archives/public Options Indexes FollowSymLinks Multiviews Order allow,deny allow from all Options Indexes FollowSymLinks Multiviews Order allow,deny allow from all # # SVN Repository # ErrorDocument 404 default DAV svn SVNParentPath /var/lib/gforge/svnroot #Uncomment the following lines to use MAG #GforgeSysPath /var/lib/gforge #GforgeGroupsRoot /svnroot #Auth_PG_cache_passwords On # how to authenticate a user # comment out the following line when using MAG AuthzSVNAccessFile /var/lib/gforge/svnroot-access AuthType Basic AuthName "Document repository" # comment out the following line when using MAG AuthUserFile /var/lib/gforge/svnroot-authfile SVNIndexXSLT "/svnindex.xsl" # only authenticated users may access the repository Require valid-user # Git Repositories ScriptAlias /git/ "/usr/bin/git-http-backend/" ErrorDocument 404 default AuthType Basic AuthName "Git repositories" AuthUserFile /var/lib/gforge/svnroot-authfile Require valid-user Options ExecCGI FollowSymLinks Indexes ErrorDocument 404 default AuthType Basic AuthName "Git Repository" AuthUserFile /var/lib/gforge/svnroot-authfile Require valid-user php_value include_path ".:/opt/gforge/lib/external:/opt/gforge/lib:/opt/gforge"