|
From: | cbayle |
Subject: | [Gforge-commits] gforge-plugin-scmcvs/etc/httpd.d 10scmcvsauth, NONE, 1.1 11scmcvshttp, NONE, 1.1 12scmcvshttp.ssl, NONE, 1.1 30virtualcvs, NONE, 1.1 31virtualcvs.ssl, NONE, 1.1 |
Date: | Wed, 21 Jul 2004 17:00:29 -0500 |
Update of /cvsroot/gforge/gforge-plugin-scmcvs/etc/httpd.d In directory db.perdue.net:/tmp/cvs-serv31445/etc/httpd.d Added Files: 10scmcvsauth 11scmcvshttp 12scmcvshttp.ssl 30virtualcvs 31virtualcvs.ssl Log Message: First part of refactoring work, not yet finished but not working worst than before, I hope --- NEW FILE: 10scmcvsauth --- # # CVS host # <Directory {usr_share_gforge}/cvs> Options Indexes FollowSymlinks AllowOverride All order allow,deny allow from all php_admin_value include_path "{sys_custom_path}:{usr_share_gforge}:{usr_share_gforge}/www/include:." php_admin_value default_charset "UTF-8" </Directory> --- NEW FILE: 11scmcvshttp --- # CVS HTTP vhost <VirtualHost {ip_address}:80> ServerName {scm_host} DocumentRoot {usr_share_gforge}/cvs ScriptAlias /plugins/scmcvs/cgi-bin {usr_share_gforge}/plugins/scmcvs/cgi-bin/ Alias /images/ {usr_share_gforge}/www/images/ 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 <IfModule apache_ssl.c> SSLDisable </IfModule> </VirtualHost> --- NEW FILE: 12scmcvshttp.ssl --- # CVS HTTP SSL vhost <VirtualHost {ip_address}:443> ServerName {scm_host} <IfModule mod_ssl.c> SSLEngine on SSLCertificateFile /etc/apache/ssl.crt/server.crt SSLCertificateKeyFile /etc/apache/ssl.key/server.key <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 </IfModule> DocumentRoot {usr_share_gforge}/cvs ScriptAlias /plugins/scmcvs/cgi-bin {usr_share_gforge}/plugins/scmcvs/cgi-bin/ Alias /images/ {usr_share_gforge}/www/images/ 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 <IfModule apache_ssl.c> SSLDisable </IfModule> </VirtualHost> --- NEW FILE: 30virtualcvs --- # # cvs.* hosts # # This example is so beautiful that I keep it # And can be used in a better way e.g. creating a cvs directory by group <VirtualHost {ip_address}:80> ServerName cvs.{domain_name} ServerAlias cvs.*.{domain_name} DocumentRoot {gforge_chroot}{groupdir}/ VirtualDocumentRoot {gforge_chroot}{groupdir}/%2/htdocs VirtualScriptAlias {gforge_chroot}{groupdir}/%2/cgi-bin <Directory {gforge_chroot}{groupdir}> Options Indexes FollowSymlinks AllowOverride All order allow,deny allow from all </Directory> 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 <IfModule apache_ssl.c> SSLDisable </IfModule> </VirtualHost> --- NEW FILE: 31virtualcvs.ssl --- # CVS HTTP SSL vhosts <VirtualHost {ip_address}:443> ServerName cvs.{domain_name} ServerAlias cvs.*.{domain_name} DocumentRoot {gforge_chroot}{groupdir}/ VirtualDocumentRoot {gforge_chroot}{groupdir}/%2/htdocs VirtualScriptAlias {gforge_chroot}{groupdir}/%2/cgi-bin <IfModule mod_ssl.c> SSLEngine on SSLCertificateFile /etc/apache/ssl.crt/server.crt SSLCertificateKeyFile /etc/apache/ssl.key/server.key SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown </IfModule> <IfModule apache_ssl.c> SSLEnable SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown </IfModule> <Directory {gforge_chroot}{groupdir}> Options Indexes FollowSymlinks AllowOverride All order allow,deny allow from all </Directory> LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" gforge CustomLog "|{cronolog_path} {var_log_gforge}/%Y/%m/%d/gforge.log" gforge </VirtualHost>
[Prev in Thread] | Current Thread | [Next in Thread] |