# HTTP ServerName {domain_name} ServerAlias www.{domain_name} ServerAdmin {server_admin} DocumentRoot {usr_share_gforge}/www Alias /images/ {usr_share_gforge}/www/images/ DirectoryIndex index.html index.php UserDir disabled php_admin_value default_charset "UTF-8" Include {gforge_etc}/httpd.secrets ScriptAliasMatch ^/plugins/([^/]*)/cgi-bin/(.*) /usr/lib/gforge/plugins/$1/cgi-bin/$2 # Debian Sourceforge without the DNS delegation # Project home pages are in a virtual /www/ location AliasMatch ^/www/([^/]*)/(.*) {gforge_chroot}{groupdir}/$1/htdocs/$2 ScriptAliasMatch ^/([^/]*)/cgi-bin/(.*) {gforge_chroot}{groupdir}/$1/cgi-bin/$2 Options Indexes FollowSymlinks AllowOverride All order allow,deny allow from all # Projects and Users script ForceType application/x-httpd-php ForceType application/x-httpd-php # This for cgi not on vhosts ScriptAlias /cgi-bin/ {cgidir}/ # For cvsweb icons and css Alias /cvsweb/ /usr/share/cvsweb/ # 404 Error document ErrorDocument 404 /404.php LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" gforge CustomLog "|{cronolog_path} {var_log_gforge}/%Y/%m/%d/gforge.log" gforge # Ensure that we don't try to use SSL on SSL Servers SSLDisable