[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-392-g7c8eb21
Shawn Moore
sartak at bestpractical.com
Fri Nov 5 13:24:19 EDT 2010
The branch, 3.9-trunk has been updated
via 7c8eb21fe11744762308d59a9278cb6281f9dba8 (commit)
from e1b155e18c5cdcfc4f0764b11a70a26d78bc2f89 (commit)
Summary of changes:
docs/web_deployment.pod | 46 ++++++++++++++++++++++++++++++++++++----------
1 files changed, 36 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit 7c8eb21fe11744762308d59a9278cb6281f9dba8
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Fri Nov 5 13:22:05 2010 -0400
mod_perl 1.x config based on 2.x
diff --git a/docs/web_deployment.pod b/docs/web_deployment.pod
index 09b3298..7415fb3 100644
--- a/docs/web_deployment.pod
+++ b/docs/web_deployment.pod
@@ -36,24 +36,50 @@ it knows where to find RT:
<VirtualHost your.ip.address>
ServerName your.rt.server.hostname
+ ServerRoot /usr
+ ServerAdmin root at localhost
- DocumentRoot /opt/rt3/share/html
- AddDefaultCharset UTF-8
+ 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>
+
+ PerlModule Apache::DBI
# optional apache logs for RT
# ErrorLog /opt/rt3/var/log/apache.error
# TransferLog /opt/rt3/var/log/apache.access
+ # LogLevel debug
- PerlModule Apache::DBI
- 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
- PerlHandler RT::Mason
- </Location>
+ PerlHandler Plack::Handler::Apache1
+ PerlSetVar psgi_app /opt/rt3/sbin/rt-server
+ </Directory>
</VirtualHost>
=head3 mod_perl 2.xx
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list