[Rt-commit] rt branch, psgi, updated. rt-3.9.4-279-ge7dbc00

Shawn Moore sartak at bestpractical.com
Thu Nov 4 15:54:28 EDT 2010


The branch, psgi has been updated
       via  e7dbc0053a798f84c2dafc96e1c96da332383bce (commit)
      from  ccbc7236d521ae7ce41e7c1f3cf00fa853fadc7b (commit)

Summary of changes:
 README                  |  117 ++---------------------------------------------
 docs/web_deployment.pod |  110 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+), 113 deletions(-)
 create mode 100644 docs/web_deployment.pod

- Log -----------------------------------------------------------------
commit e7dbc0053a798f84c2dafc96e1c96da332383bce
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Nov 4 15:54:16 2010 -0400

    Move the web deployment doc out into a new file, docs/web_deployment.pod

diff --git a/README b/README
index fe96fc0..c600a34 100644
--- a/README
+++ b/README
@@ -163,10 +163,11 @@ want to read a more comprehensive installation guide at:
     release.  You can download it from CPAN here:
     http://search.cpan.org/dist/RT-Extension-RT2toRT3/
 
-9   Configure the email and web gateways, as described below.
+9  Configure the web server, as described in docs/web_deployment.pod, and
+   the email gateway, as described below.
 
-    NOTE: root's password for the web interface is "password"
-    (without the quotes).  Not changing this is a SECURITY risk!
+     NOTE: root's password for the web interface is "password"
+     (without the quotes).  Not changing this is a SECURITY risk!
 
 10  Set up automated recurring tasks (cronjobs):
 
@@ -192,116 +193,6 @@ want to read a more comprehensive installation guide at:
 
 
 
-SETTING UP THE WEB INTERFACE
-----------------------------
-
-RT's web interface is based around HTML::Mason, which works well with
-the mod_perl perl interpreter within Apache httpd and FastCGI.
-
-Once you've set up the web interface, consider setting up automatic
-logout for inactive sessions. For more information about how to do that,
-run
-    perldoc /path/to/rt/sbin/rt-clean-sessions
-
-
-mod_perl 1.xx
--------------
-
-WARNING: mod_perl 1.99_xx is not supported.
-
-See below configuration instructions for mod_perl 2.x
-
-To install RT with mod_perl 1.x, you'll need to install the
-apache database connection cache. To make sure it's installed, run
-the following command:
-
-    perl -MCPAN -e'install "Apache::DBI"'
-
-Next, add a few lines to your Apache 1.3.xx configuration file, so that
-it knows where to find RT:
-
-<VirtualHost your.ip.address>
-    ServerName your.rt.server.hostname
-
-    DocumentRoot /opt/rt3/share/html
-    AddDefaultCharset UTF-8
-
-    # optional apache logs for RT
-    # ErrorLog /opt/rt3/var/log/apache.error
-    # TransferLog /opt/rt3/var/log/apache.access
-
-    PerlModule Apache::DBI
-    PerlRequire /opt/rt3/bin/webmux.pl
-
-    <Location /NoAuth/images>
-        SetHandler default
-    </Location>
-    <Location />
-        SetHandler perl-script
-        PerlHandler RT::Mason
-    </Location>
-</VirtualHost>
-
-mod_perl 2.xx
--------------
-
-WARNING: mod_perl 1.99_xx is not supported.
-
-Add a few lines to your Apache 2.xx configuration file, so that
-it knows where to find RT:
-
-<VirtualHost your.ip.address>
-    ServerName your.rt.server.hostname
-
-    DocumentRoot /opt/rt3/share/html
-    AddDefaultCharset UTF-8
-
-    # optional apache logs for RT
-    # ErrorLog /opt/rt3/var/log/apache2.error
-    # TransferLog /opt/rt3/var/log/apache2.access
-
-    PerlRequire "/opt/rt3/bin/webmux.pl"
-
-    <Location /NoAuth/images>
-        SetHandler default
-    </Location>
-    <Location />
-        SetHandler perl-script
-        PerlResponseHandler RT::Mason
-    </Location>
-</VirtualHost>
-
-FastCGI
--------
-
-Installation with FastCGI is a little bit more complex and is documented
-in detail at http://wiki.bestpractical.com/index.cgi?FastCGIConfiguration
-
-In the most basic configuration, you can set up your webserver to run
-as a user who is a member of the "rt" unix group so that the FastCGI script
-can read RT's configuration file.  It's important to understand the security
-implications of this configuration, which are discussed in the document
-mentioned above.
-
-To install RT with FastCGI, you'll need to add a few lines to your
-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
-
-<VirtualHost rt.example.com>
-   ServerName your.rt.server.hostname
-
-   # Pass through requests to display images
-   Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
-
-   AddHandler fastcgi-script fcgi
-   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
-</VirtualHost>
-
 
 
 SETTING UP THE MAIL GATEWAY
diff --git a/docs/web_deployment.pod b/docs/web_deployment.pod
new file mode 100644
index 0000000..cf6b7d2
--- /dev/null
+++ b/docs/web_deployment.pod
@@ -0,0 +1,110 @@
+SETTING UP THE WEB INTERFACE
+----------------------------
+
+RT's web interface is based around HTML::Mason, which works well with
+the mod_perl perl interpreter within Apache httpd and FastCGI.
+
+Once you've set up the web interface, consider setting up automatic
+logout for inactive sessions. For more information about how to do that,
+run
+    perldoc /path/to/rt/sbin/rt-clean-sessions
+
+
+mod_perl 1.xx
+-------------
+
+WARNING: mod_perl 1.99_xx is not supported.
+
+See below configuration instructions for mod_perl 2.x
+
+To install RT with mod_perl 1.x, you'll need to install the
+apache database connection cache. To make sure it's installed, run
+the following command:
+
+    perl -MCPAN -e'install "Apache::DBI"'
+
+Next, add a few lines to your Apache 1.3.xx configuration file, so that
+it knows where to find RT:
+
+<VirtualHost your.ip.address>
+    ServerName your.rt.server.hostname
+
+    DocumentRoot /opt/rt3/share/html
+    AddDefaultCharset UTF-8
+
+    # optional apache logs for RT
+    # ErrorLog /opt/rt3/var/log/apache.error
+    # TransferLog /opt/rt3/var/log/apache.access
+
+    PerlModule Apache::DBI
+    PerlRequire /opt/rt3/bin/webmux.pl
+
+    <Location /NoAuth/images>
+        SetHandler default
+    </Location>
+    <Location />
+        SetHandler perl-script
+        PerlHandler RT::Mason
+    </Location>
+</VirtualHost>
+
+mod_perl 2.xx
+-------------
+
+WARNING: mod_perl 1.99_xx is not supported.
+
+Add a few lines to your Apache 2.xx configuration file, so that
+it knows where to find RT:
+
+<VirtualHost your.ip.address>
+    ServerName your.rt.server.hostname
+
+    DocumentRoot /opt/rt3/share/html
+    AddDefaultCharset UTF-8
+
+    # optional apache logs for RT
+    # ErrorLog /opt/rt3/var/log/apache2.error
+    # TransferLog /opt/rt3/var/log/apache2.access
+
+    PerlRequire "/opt/rt3/bin/webmux.pl"
+
+    <Location /NoAuth/images>
+        SetHandler default
+    </Location>
+    <Location />
+        SetHandler perl-script
+        PerlResponseHandler RT::Mason
+    </Location>
+</VirtualHost>
+
+FastCGI
+-------
+
+Installation with FastCGI is a little bit more complex and is documented
+in detail at http://wiki.bestpractical.com/index.cgi?FastCGIConfiguration
+
+In the most basic configuration, you can set up your webserver to run
+as a user who is a member of the "rt" unix group so that the FastCGI script
+can read RT's configuration file.  It's important to understand the security
+implications of this configuration, which are discussed in the document
+mentioned above.
+
+To install RT with FastCGI, you'll need to add a few lines to your
+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
+
+<VirtualHost rt.example.com>
+   ServerName your.rt.server.hostname
+
+   # Pass through requests to display images
+   Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
+
+   AddHandler fastcgi-script fcgi
+   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
+</VirtualHost>
+

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


More information about the Rt-commit mailing list