3 ServerName {domain_name}
4 ServerAlias www.{domain_name}
5 ServerAdmin {server_admin}
6 DocumentRoot {usr_share_gforge}/www
8 #User {sys_apache_user}
9 #Group {sys_apache_group}
10 # Apache 2 apache2-mpm-perchild
11 #AssignUserID {sys_apache_user} {sys_apache_group}
12 # Apache 2 but this is not the same
13 #<IfModule mod_suexec.c>
14 # SuexecUserGroup {sys_apache_user} {sys_apache_group}
16 Alias /images/ {usr_share_gforge}/www/images/
17 DirectoryIndex index.html index.php
18 <IfModule mod_userdir.c>
22 php_admin_value default_charset "UTF-8"
24 <Directory {usr_share_gforge}/www>
25 Include {gforge_etc}/httpd.secrets
28 ScriptAliasMatch ^/plugins/([^/]*)/cgi-bin/(.*) /usr/share/gforge/plugins/$1/cgi-bin/$2
30 # Projects and Users script
32 ForceType application/x-httpd-php
35 ForceType application/x-httpd-php
39 ErrorDocument 404 /404.php
40 LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" gforge
41 CustomLog "|{cronolog_path} {var_log_gforge}/%Y/%m/%d/gforge.log" gforge
43 # GForge without the DNS delegation
44 # Project home pages are in a virtual /www/<group> location
45 # AliasMatch ^/www/([^/]*)/(.*) {gforge_chroot}{groupdir}/$1/htdocs/$2
46 # ScriptAliasMatch ^/([^/]*)/cgi-bin/(.*) {gforge_chroot}{groupdir}/$1/cgi-bin/$2
47 # <Directory {gforge_chroot}{groupdir}>
48 # Options Indexes FollowSymlinks
54 # Ensure that we don't try to use SSL on SSL Servers
55 <IfModule apache_ssl.c>
59 Alias /fckeditor/ /usr/share/fckeditor/
60 <Directory "/usr/share/fckeditor/">
61 Options Indexes MultiViews FollowSymLinks
68 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)