Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-05-06 14:44:31

smutter
New Member
Registered: 2016-05-06
Posts: 1

Unable to log into admin area

When I try to log into the admin area of a new Textpattern install, I get an Internal Server Error.

The Apache error log reports:

[Fri May 06 10:39:34.317845 2016] [core:error] [pid 31119] [client xx.xx.xx.xx:59562] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
[Fri May 06 10:39:34.317898 2016] [core:debug] [pid 31119] core.c(3614): [client xx.xx.xx.xx:59562] AH00121: r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317907 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317931 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317936 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317941 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317946 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317951 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317956 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317961 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317968 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php
[Fri May 06 10:39:34.317973 2016] [core:debug] [pid 31119] core.c(3621): [client xx.xx.xx.xx:59562] AH00122: redirected from r->uri = /txtpat/textpattern/index.php

I do not know what the issue is.

Offline

#2 2016-05-06 18:28:19

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Unable to log into admin area

Try adding this line to .htaccess in the mod_rewrite section immediately after enabling the rewrite engine on:

RewriteOptions MaxRedirects=40

So your code should look something like this:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteOptions MaxRedirects=20
    #RewriteBase /relative/web/path/

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]

    RewriteCond %{REQUEST_URI} !=/favicon.ico
    RewriteRule ^(.*) index.php

    RewriteCond %{HTTP:Authorization}  !^$
    RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

Does that help?

Offline

Board footer

Powered by FluxBB