3 ServerName {domain_name}
4 ServerAlias www.{domain_name}
5 ServerAdmin {server_admin}
7 #User {sys_apache_user}
8 #Group {sys_apache_group}
9 # Apache 2 apache2-mpm-perchild
10 #AssignUserID {sys_apache_user} {sys_apache_group}
12 <IfModule mod_suexec.c>
13 SuexecUserGroup {sys_apache_user} {sys_apache_group}
15 DocumentRoot {usr_share_gforge}/www
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/lib/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
45 SSLCertificateFile {sys_sslcrt}
46 SSLCertificateKeyFile {sys_sslkey}
47 <Files ~ "\.(cgi|shtml)$">
48 SSLOptions +StdEnvVars
50 <Directory "/usr/lib/cgi-bin">
51 SSLOptions +StdEnvVars
53 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
56 <IfModule apache_ssl.c>
58 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
61 Alias /fckeditor/ /usr/share/fckeditor/
62 <Directory "/usr/share/fckeditor/">
63 Options Indexes MultiViews FollowSymLinks