LoadModule dav_module modules/mod_dav.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so LoadModule auth_gforge_module modules/mod_auth_gforge.so # # Use name-based virtual hosting. # NameVirtualHost 192.168.100.100:80 #NameVirtualHost 192.168.100.100:443 # # Primary GForge vhost # ServerName gforge.company.com # RewriteEngine on # RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R=permanent] # # ServerName gforge.company.com ServerAdmin webmaster@gforge.company.com DocumentRoot /opt/gforge/gforge/www ErrorDocument 404 /404.php php_value include_path ".:/opt/gforge/gforge/:/opt/gforge/gforge/www/include/:/etc/gforge/" php_value register_globals On #php_value output_handler "" php_value default_charset "UTF-8" #SSLEngine On #SSLCertificateFile /etc/httpd/ssl/gforge.company.com.crt #SSLCertificateKeyFile /etc/httpd/ssl/gforge.company.com.pem # #SetOutputFilter PHP #SetInputFilter PHP #AcceptPathInfo on # # #SetOutputFilter PHP #SetInputFilter PHP #AcceptPathInfo on # # # SetOutputFilter PHP # SetInputFilter PHP # AcceptPathInfo On # LimitRequestBody 2097152 # # # LOCATION may have to be used instead of FILES for some installs # ForceType application/x-httpd-php ForceType application/x-httpd-php DirectoryIndex index.php # # Lists vhosts - where mailman lives # ServerName lists.gforge.company.com ServerAdmin mailman@lists.gforge.company.com DocumentRoot /opt/gforge/mailman ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ Alias /pipermail/ /var/lib/mailman/archives/public/ #ScriptAlias /mailman/ /var/mailman/cgi-bin/ #Alias /pipermail/ /var/mailman/archives/public/ DirectoryIndex index.php index.cgi index.html index.htm # # CVS Vhost - allows viewing of CVSWeb for each project # Only necessary if CVS is on separate machine # # #ServerName cvs.gforge.company.com #ServerAdmin webmaster@cvs.gforge.company.com #DocumentRoot /opt/gforge/cvs #DirectoryIndex index.php index.cgi # # # *.gforge.company.com vhosts # Each project can have its own vhost # # WARNING - security is degraded by having this # on the same machine as the primary GForge # # # ServerName projects.gforge.company.com # ServerAlias *.projects.gforge.company.com # DocumentRoot /home/groups # VirtualDocumentRoot /home/groups/%1/htdocs # VirtualScriptAlias /home/groups/%1/cgi-bin # # Options Indexes # # WARNING - turning on php will allow any user # to upload a php file to your server, and include # the gforge local.inc file and get your password to # connect to the database and have total control. # # php_flag engine off # AllowOverride None # order allow,deny # allow from all # # DirectoryIndex index.html index.htm # # # Subversion vhost using mod_auth_gforge # ServerName svn.gforge.company.com # RewriteEngine on # RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R=permanent] # # # ServerName svn.gforge.company.com ServerAdmin webmaster@svn.gforge.company.com DocumentRoot /opt/gforge/svn DAVLockDB /tmp/svn-DAVLockDB # RewriteEngine on # #RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R=permanent] # RewriteRule ^/svn$ /index.php [PT] # RewriteRule ^/svn/$ /index.php [PT] # RewriteRule ^/svn/index.html$ /index.php [PT] # RewriteRule ^/index.htm$ /index.php [PT] # RewriteRule ^/index.html$ /index.php [PT] # SSLEngine On # SSLCertificateFile /etc/httpd/ssl/gforge.company.com.crt # SSLCertificateKeyFile /etc/httpd/ssl/gforge.company.com.pem #GforgeAuthzEnabled on GforgeSysPath /svnroot GforgeGroupsRoot /svn GforgeAnonClause "groups.enable_anonscm >= '1'" GforgeReadClause "cvs_flags >= '0'" GforgeWriteClause "cvs_flags >= '1'" DAV svn SVNParentPath /svnroot SVNAutoversioning on SVNIndexXSLT /svnindex.xsl AuthType basic AuthName "Subversion User Authentication" #Auth_PG_host localhost Auth_PG_database gforge Auth_PG_port 5432 Auth_PG_user gforge Auth_PG_pwd gforge Auth_PG_pwd_table users Auth_PG_pwd_field user_pw Auth_PG_uid_field user_name Auth_PG_grp_table groups Auth_PG_gid_field unix_group_name Auth_PG_encrypted on Auth_PG_hash_type MD5 Auth_PG_authoritative on Require valid-user php_flag engine off DirectoryIndex index.php # # webDAV editing of project vhosts # # # ServerName edit.gforge.company.com # RewriteEngine on # RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R=permanent] # # # ServerName edit.gforge.company.com # ServerAdmin webmaster@edit.gforge.company.com # DocumentRoot /opt/gforge/homedirs # DAVLockDB /tmp/projvhost-DAVLockDB # # Needed for windows web folders # DavDepthInfinity on # SSLEngine On # SSLCertificateFile /etc/httpd/ssl/gforge.company.com.crt # SSLCertificateKeyFile /etc/httpd/ssl/gforge.company.com.pem # # GforgeSysPath /opt/gforge/homedirs # GforgeGroupsRoot /groups # GforgeUsersRoot /users # DAV On # AuthType basic # AuthName "Gforge User Authentication" # Auth_default_access_type DECLINE # # Auth_PG_host localhost # Auth_PG_database gforge # Auth_PG_port 5432 # Auth_PG_user gforge # # Auth_PG_pwd XXXXXXX # Auth_PG_pwd_table users # Auth_PG_pwd_field user_pw # Auth_PG_uid_field user_name # # Auth_PG_grp_table groups # Auth_PG_gid_field unix_group_name # # Auth_PG_encrypted on # Auth_PG_hash_type MD5 # Auth_PG_authoritative on # Auth_PG_cache_passwords on # # Require valid-user # #DirectoryIndex index.htm #