[rt-users] Login Loop

KennethMTowne at Eaton.com KennethMTowne at Eaton.com
Wed May 1 23:09:10 EDT 2013


I am trying to configure a new RT4 installation on an existing server that is already hosting another site.

My RT_SiteConfig.pm has the following settings:

Set( $WebBaseURL, 'https://webserver.ken.com');
Set( $WebPort, 443);
Set( $WebPath, '/rt4');

My Apache2 configuration is as follows:

<IfModule mod_ssl.c>
<VirtualHost _default_:443>
        ServerAdmin webmaster at localhost

        LogLevel warn
        CustomLog /var/log/apache2/ssl_access.log combined

        SSLEngine on
        SSLCertificateFile    crtfile
        SSLCertificateKeyFile keyfile

        DocumentRoot "/data/site1/extras/www"
        WSGIScriptAlias /site1 /data/site1/site.wsgi
<Location />

AuthType Basic
        AuthName "Google Authenticator Code"
        AuthBasicProvider "google_authenticator"
        Require valid-user
        GoogleAuthUserPath /etc/apache2/2factor
        GoogleAuthCookieLife 3600
        GoogleAuthEntryWindow 2
</Location>

Alias /rt4/ /opt/rt4/share/html/

<Directory /opt/rt4/share/html/>
        Order allow,deny
        Allow from all

        SetHandler modperl
                   PerlResponseHandler Plack::Handler::Apache2
                    PerlSetVar psgi_app /opt/rt4/sbin/rt-server


</Directory>
<Perl>
                    use Plack::Handler::Apache2;
                    Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
                </Perl>

</VirtualHost>
</IfModule>

I can access /site1 no problem, when I try to access /rt4 I get a redirect loop error as the browser cycles through a bunch of next=ids. The rt error log shows:

Reason: your browser did not supply a Referrer header (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:397)
[Thu May  2 02:58:29 2013] [notice]: Marking original destination as having side-effects before redirecting for login.
Request: /rt4/NoAuth/Login.html?next=c9b6650e44159f2832c5dc436ccc4ca7
Reason: your browser did not supply a Referrer header (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:397)
[Thu May  2 02:58:29 2013] [notice]: Marking original destination as having side-effects before redirecting for login.
Request: /rt4/NoAuth/Login.html?next=35f158bbe5c75a9996c62aae1d0aa163
Reason: your browser did not supply a Referrer header (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:397)
[Thu May  2 02:58:29 2013] [notice]: Marking original destination as having side-effects before redirecting for login.
Request: /rt4/NoAuth/Login.html?next=036240bcec8f468eaaaa830aeb0f79f8
Reason: your browser did not supply a Referrer header (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:397)

Any help would be appreciated

Ken Towne
KennethMTowne at eaton.com<mailto:KennethMTowne at eaton.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130502/4402b1f1/attachment.htm>


More information about the rt-users mailing list