[rt-users] RT 4.0.3 upgrade problem
Bart
bart at pleh.info
Thu Nov 10 05:56:13 EST 2011
You could also try to redirect everything from port 80 to 443, this would
ensure that apache only touches RT once:
<VirtualHost *:80>
ErrorLog /opt/rt4/var/log/apache2.error
TransferLog /opt/rt4/var/log/apache2.access
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
-- Bart
2011/11/10 Carlos Ramos <carragom at gmail.com>
> On Wed, Nov 9, 2011 at 6:54 PM, Jeff Sampson <ffercs at gmail.com> wrote:
> > Here are the RT related config sections..
> >
> > <VirtualHost *:80>
> > Alias /rt "/opt/rt4/share/html"
> > AddDefaultCharset UTF-8
> > <Location /rt>
> > Order allow,deny
> > allow from all
> > SetHandler modperl
> > PerlResponseHandler Plack::Handler::Apache2
> > PerlSetVar psgi_app /opt/rt4/sbin/rt-server
> > </Location>
> > <Perl>
> > use Plack::Handler::Apache2;
> > Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> > </Perl>
> > </VirtualHost>
> > <VirtualHost *:443>
> > Alias /rt "/opt/rt4/share/html"
> > AddDefaultCharset UTF-8
> > <Location /rt>
> > Order allow,deny
> > allow from all
> > SetHandler modperl
> > PerlResponseHandler Plack::Handler::Apache2
> > PerlSetVar psgi_app /opt/rt4/sbin/rt-server
> > </Location>
> > <Perl>
> > use Plack::Handler::Apache2;
> > Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> > </Perl>
> > </VirtualHost>
> > --------
> > RT Training Sessions (http://bestpractical.com/services/training.html)
> > * Barcelona, Spain — November 28 & 29, 2011
> >
>
> I don't know if it's going to fix it, but the 'Alias /rt
> "/opt/rt4/share/html"' is not needed in this setup and it's probably
> conflicting with the 'Location /rt' section, so i would say get rid of
> it.
>
> http://httpd.apache.org/docs/2.2/mod/core.html#location
>
> --
> Carlos Ramos
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Barcelona, Spain November 28 & 29, 2011
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111110/c548cc3e/attachment.htm>
More information about the rt-users
mailing list