[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-390-g87e0b52

Shawn Moore sartak at bestpractical.com
Fri Nov 5 12:55:48 EDT 2010


The branch, 3.9-trunk has been updated
       via  87e0b52fc9f68d419ed3bbc17fbf2bfd71eb296f (commit)
      from  5d93080efa54cb3f0dadbb58370bbe31bd8a3fae (commit)

Summary of changes:
 docs/web_deployment.pod |   46 ++++++++++++++++++++++++++++++++++++----------
 1 files changed, 36 insertions(+), 10 deletions(-)

- Log -----------------------------------------------------------------
commit 87e0b52fc9f68d419ed3bbc17fbf2bfd71eb296f
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Fri Nov 5 12:55:33 2010 -0400

    New mod_perl2 config generated from t/data/configs/apache2.2+mod_perl.conf

diff --git a/docs/web_deployment.pod b/docs/web_deployment.pod
index e29e992..55ab49b 100644
--- a/docs/web_deployment.pod
+++ b/docs/web_deployment.pod
@@ -65,23 +65,49 @@ it knows where to find RT:
 
     <VirtualHost your.ip.address>
         ServerName your.rt.server.hostname
-
-        DocumentRoot /opt/rt3/share/html
-        AddDefaultCharset UTF-8
+        ServerRoot /usr
+        ServerAdmin root at localhost
+
+        LoadModule authz_host_module modules/mod_authz_host.so
+        LoadModule log_config_module modules/mod_log_config.so
+        LoadModule env_module modules/mod_env.so
+        LoadModule alias_module modules/mod_alias.so
+        LoadModule perl_module modules/mod_perl.so
+
+        <IfModule !mpm_netware_module>
+        <IfModule !mpm_winnt_module>
+        User rt
+        Group staff
+        </IfModule>
+        </IfModule>
 
         # optional apache logs for RT
         # ErrorLog /opt/rt3/var/log/apache2.error
         # TransferLog /opt/rt3/var/log/apache2.access
+        # LogLevel debug
 
-        PerlRequire "/opt/rt3/bin/webmux.pl"
+        <Directory />
+            Options FollowSymLinks
+            AllowOverride None
+            Order deny,allow
+            Deny from all
+        </Directory>
+
+        AddDefaultCharset UTF-8
+        PerlSetEnv RT_SITE_CONFIG /opt/rt3/etc/RT_SiteConfig.pm
+
+        RedirectMatch permanent (.*)/$ $1/index.html
+
+        DocumentRoot "/opt/rt3/share/html"
+        <Directory "/opt/rt3/share/html">
+            Order allow,deny
+            Allow from all
 
-        <Location /NoAuth/images>
-            SetHandler default
-        </Location>
-        <Location />
             SetHandler perl-script
-            PerlResponseHandler RT::Mason
-        </Location>
+            PerlResponseHandler Plack::Handler::Apache2
+            PerlSetVar psgi_app /opt/rt3/sbin/rt-server
+            PerlSetEnv RT_TESTING 1
+        </Directory>
     </VirtualHost>
 
 =head2 FastCGI

-----------------------------------------------------------------------


More information about the Rt-commit mailing list