R
R
run1822017-03-01 10:58:23
htaccess
run182, 2017-03-01 10:58:23

Why is a circular redirect created?

This was not the case on another server/domain, now it has been transferred to a subdomain like demo.site.ru and problems have begun. Here is what the log gives:

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., referer: http://demo.site.ru/admin/

here is the .htaccess entry:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]

Here is index.php:
<?
ini_set('display_errors', 0);
require_once 'app/load.php';
?>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
run182, 2017-03-01
@run182

I just had to point outRewriteBase /

D
Dmitry Derbenev, 2017-11-16
@newdimix

Use position: sticky

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question