[Rt-commit] rt branch, 4.0/apache-deployment-doc, created. rt-4.0.0rc4-57-g7fdbbb7
Chia-liang Kao
clkao at bestpractical.com
Wed Feb 23 12:06:51 EST 2011
The branch, 4.0/apache-deployment-doc has been created
at 7fdbbb7b25c1c3ef32a7286f4f9801990a8071e3 (commit)
- Log -----------------------------------------------------------------
commit 7fdbbb7b25c1c3ef32a7286f4f9801990a8071e3
Author: Chia-liang Kao <clkao at bestpractical.com>
Date: Thu Feb 24 01:04:34 2011 +0800
Use Location instead of Directory as suggested by Plack::Handler::Apache* doc.
diff --git a/docs/web_deployment.pod b/docs/web_deployment.pod
index 91c9871..ba1384f 100644
--- a/docs/web_deployment.pod
+++ b/docs/web_deployment.pod
@@ -68,14 +68,14 @@ it knows where to find RT:
RedirectMatch permanent (.*)/$ $1/index.html
DocumentRoot "/opt/rt4/share/html"
- <Directory "/opt/rt4/share/html">
+ <Location />
Order allow,deny
Allow from all
SetHandler perl-script
PerlHandler Plack::Handler::Apache1
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
- </Directory>
+ </Location>
</VirtualHost>
=head3 mod_perl 2.xx
@@ -112,14 +112,14 @@ it knows where to find RT:
RedirectMatch permanent (.*)/$ $1/index.html
DocumentRoot "/opt/rt4/share/html"
- <Directory "/opt/rt4/share/html">
+ <Location />
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
- </Directory>
+ </Location>
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
diff --git a/t/data/configs/apache2.2+mod_perl.conf.in b/t/data/configs/apache2.2+mod_perl.conf.in
index a448473..aad8bf5 100644
--- a/t/data/configs/apache2.2+mod_perl.conf.in
+++ b/t/data/configs/apache2.2+mod_perl.conf.in
@@ -46,14 +46,14 @@ AddDefaultCharset UTF-8
PerlSetEnv RT_SITE_CONFIG %%RT_SITE_CONFIG%%
DocumentRoot "%%DOCUMENT_ROOT%%"
-<Directory "%%DOCUMENT_ROOT%%">
+<Location />
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app %%RT_SBIN_PATH%%/rt-server
-</Directory>
+</Location>
<Perl>
$ENV{RT_TESTING}=1;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list