-# HTTPS
+# 07maindirhttp.vhost.ssl begin
<VirtualHost *:443>
ServerName {domain_name}
ServerAlias www.{domain_name}
ServerAdmin {server_admin}
+ DocumentRoot {usr_share_gforge}/www
+ #
# Apache 1.3
- #User {sys_apache_user}
- #Group {sys_apache_group}
+ # User {sys_apache_user}
+ # Group {sys_apache_group}
+ #
# Apache 2 apache2-mpm-perchild
- #AssignUserID {sys_apache_user} {sys_apache_group}
+ # AssignUserID {sys_apache_user} {sys_apache_group}
# Apache 2
- <IfModule mod_suexec.c>
- SuexecUserGroup {sys_apache_user} {sys_apache_group}
- </IfModule>
- DocumentRoot {usr_share_gforge}/www
+ # <IfModule mod_suexec.c>
+ # SuexecUserGroup {sys_apache_user} {sys_apache_group}
+ # </IfModule>
+ ##### COPY of 06maindirhttp begin #####
DirectoryIndex index.html index.php
<IfModule mod_userdir.c>
UserDir disabled
# 404 Error document
ErrorDocument 404 {sys_urlprefix}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
- <IfModule mod_ssl.c>
- SSLEngine on
- SSLCertificateFile {sys_sslcrt}
- SSLCertificateKeyFile {sys_sslkey}
- <Files ~ "\.(cgi|shtml)$">
- SSLOptions +StdEnvVars
- </Files>
- <Directory "/usr/lib/cgi-bin">
- SSLOptions +StdEnvVars
- </Directory>
- SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
- </IfModule>
-
- <IfModule apache_ssl.c>
- SSLEnable
- SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
- </IfModule>
+ # FusionForge without the DNS delegation
+ # Project home pages are in a virtual /www/<group> location
+ # AliasMatch ^/www/([^/]*)/(.*) {gforge_chroot}{groupdir}/$1/htdocs/$2
+ # ScriptAliasMatch ^/([^/]*)/cgi-bin/(.*) {gforge_chroot}{groupdir}/$1/cgi-bin/$2
+ # <Directory {gforge_chroot}{groupdir}>
+ # Options Indexes FollowSymlinks
+ # AllowOverride All
+ # order allow,deny
+ # allow from all
+ # </Directory>
Alias {sys_urlprefix}fckeditor/ /usr/share/fckeditor/
<Directory "/usr/share/fckeditor/">
ProxyPass http://127.0.0.1:8081/
ProxyPassReverse http://127.0.0.1:8081/
</Location>
+ ##### COPY of 06maindirhttp end #####
+ <IfModule mod_ssl.c>
+ SSLEngine on
+ SSLCertificateFile {sys_sslcrt}
+ SSLCertificateKeyFile {sys_sslkey}
+ <Files ~ "\.(cgi|shtml)$">
+ SSLOptions +StdEnvVars
+ </Files>
+ <Directory "/usr/lib/cgi-bin">
+ SSLOptions +StdEnvVars
+ </Directory>
+ SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
+ </IfModule>
+
+ <IfModule apache_ssl.c>
+ SSLEnable
+ SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
+ </IfModule>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</VirtualHost>
-
+# 07maindirhttp.vhost.ssl end