X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fdevel%2Ftools%2Frt-apache;fp=rt%2Fdevel%2Ftools%2Frt-apache;h=58743fde976ffa42731f95f98afcd43f2f3b2069;hp=23290a01e5d85ba9055bc965483aad347927c91d;hb=7322f2afedcc2f427e997d1535a503613a83f088;hpb=ae14e320388fa5e7f400bff1c251ef885b7952e6 diff --git a/rt/devel/tools/rt-apache b/rt/devel/tools/rt-apache index 23290a01e..58743fde9 100644 --- a/rt/devel/tools/rt-apache +++ b/rt/devel/tools/rt-apache @@ -4,7 +4,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -282,6 +282,29 @@ Defaults to F. =cut __DATA__ +Listen $PORT + + Listen $SSL + + +ServerName localhost +ServerRoot $RTHOME/var +PidFile $RTHOME/var/apache2.pid + + LockFile $RTHOME/var/apache2.lock + +ServerAdmin root@localhost + += 2.4> + LoadModule mpm_prefork_module $MODULES/mod_mpm_prefork.so + LoadModule authz_core_module $MODULES/mod_authz_core.so + +LoadModule authz_host_module $MODULES/mod_authz_host.so +LoadModule env_module $MODULES/mod_env.so +LoadModule alias_module $MODULES/mod_alias.so +LoadModule mime_module $MODULES/mod_mime.so +TypesConfig $TOOLS/mime.types + StartServers 1 @@ -302,23 +325,6 @@ __DATA__ -Listen $PORT - - Listen $SSL - - -ServerName localhost -ServerRoot $RTHOME/var -PidFile $RTHOME/var/apache2.pid -LockFile $RTHOME/var/apache2.lock -ServerAdmin root@localhost - -LoadModule authz_host_module $MODULES/mod_authz_host.so -LoadModule env_module $MODULES/mod_env.so -LoadModule alias_module $MODULES/mod_alias.so -LoadModule mime_module $MODULES/mod_mime.so -TypesConfig $TOOLS/mime.types - LoadModule perl_module $MODULES/mod_perl.so @@ -330,6 +336,9 @@ TypesConfig $TOOLS/mime.types LoadModule ssl_module $MODULES/mod_ssl.so + = 2.4> + LoadModule socache_shmcb_module $MODULES/mod_socache_shmcb.so + @@ -365,8 +374,6 @@ Alias $PATH/NoAuth/images/ $RTHOME/share/html/NoAuth/images/ PerlSetEnv RT_SITE_CONFIG $RTHOME/etc/RT_SiteConfig.pm - Order allow,deny - Allow from all SetHandler modperl PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app $RTHOME/sbin/rt-server @@ -383,8 +390,6 @@ Alias $PATH/NoAuth/images/ $RTHOME/share/html/NoAuth/images/ FastCgiServer $RTHOME/sbin/rt-server.fcgi -processes $PROCESSES -idle-timeout 300 ScriptAlias $PATH $RTHOME/sbin/rt-server.fcgi/ - Order allow,deny - Allow from all Options +ExecCGI AddHandler fastcgi-script fcgi @@ -397,8 +402,6 @@ Alias $PATH/NoAuth/images/ $RTHOME/share/html/NoAuth/images/ FcgidMaxRequestLen 1073741824 ScriptAlias $PATH $RTHOME/sbin/rt-server.fcgi/ - Order allow,deny - Allow from all Options +ExecCGI AddHandler fcgid-script fcgi @@ -426,8 +429,6 @@ Alias $PATH/NoAuth/images/ $RTHOME/share/html/NoAuth/images/ FastCgiServer $RTHOME/bin/mason_handler.fcgi -processes $PROCESSES -idle-timeout 300 ScriptAlias $PATH $RTHOME/bin/mason_handler.fcgi/ - Order allow,deny - Allow from all Options +ExecCGI AddHandler fastcgi-script fcgi @@ -440,8 +441,6 @@ Alias $PATH/NoAuth/images/ $RTHOME/share/html/NoAuth/images/ FcgidMaxRequestLen 1073741824 ScriptAlias $PATH $RTHOME/bin/mason_handler.fcgi/ - Order allow,deny - Allow from all Options +ExecCGI AddHandler fcgid-script fcgi @@ -454,7 +453,9 @@ Alias $PATH/NoAuth/images/ $RTHOME/share/html/NoAuth/images/ SSLRandomSeed connect builtin SSLRandomSeed connect file:/dev/urandom 512 SSLSessionCache shmcb:$RTHOME/var/ssl_scache(512000) - SSLMutex file:$RTHOME/var/ssl_mutex + + SSLMutex file:$RTHOME/var/ssl_mutex + SSLEngine on SSLCertificateFile $TOOLS/localhost.crt