[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-394-g97910ae

Shawn Moore sartak at bestpractical.com
Fri Nov 5 13:34:41 EDT 2010


The branch, 3.9-trunk has been updated
       via  97910aed7b5c70bef5f39bdfe8d3c8e35a1f221e (commit)
      from  3dadd6782bd4aa22973759b29e3401b1a1589c92 (commit)

Summary of changes:
 docs/web_deployment.pod |   47 +++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 41 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 97910aed7b5c70bef5f39bdfe8d3c8e35a1f221e
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Fri Nov 5 13:34:34 2010 -0400

    FastCGI config for PSGI

diff --git a/docs/web_deployment.pod b/docs/web_deployment.pod
index 411c0e7..edebca8 100644
--- a/docs/web_deployment.pod
+++ b/docs/web_deployment.pod
@@ -151,16 +151,51 @@ Apache configuration file telling it about RT:
     # Tell FastCGI to put its temporary files somewhere sane.
     FastCgiIpcDir /tmp
 
-    FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
+    FastCgiServer /opt/rt3/sbin/rt-server.fcgi -processes 1 -idle-timeout 180 -initial-env RT_SITE_CONFIG=/opt/rt3/etc/RT_SiteConfig.pm
 
     <VirtualHost rt.example.com>
-       ServerName your.rt.server.hostname
+        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 mime_module modules/mod_mime.so
+        LoadModule fastcgi_module modules/mod_fastcgi.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
+
+        <Directory />
+            Options FollowSymLinks
+            AllowOverride None
+            Order deny,allow
+            Deny from all
+        </Directory>
+
+        AddDefaultCharset UTF-8
 
-       # Pass through requests to display images
-       Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
+        Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
+        ScriptAlias / /opt/rt3/sbin/rt-server.fcgi/
+
+        DocumentRoot "/opt/rt3/share/html"
+        <Location />
+            Order allow,deny
+            Allow from all
 
-       AddHandler fastcgi-script fcgi
-       ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
+            Options +ExecCGI
+            AddHandler fastcgi-script fcgi
+        </Location>
     </VirtualHost>
 
 =cut

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


More information about the Rt-commit mailing list