https://bz.apache.org/bugzilla/show_bug.cgi?id=59354

--- Comment #3 from Rimas Kudelis <ri...@kudelis.lt> ---
I've noticed a similar problem in Apache 2.4.52 on Ubuntu 22.04.

A configuration like this:

```
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
FallbackResource /index.php
```

works as expected: opening `/wp-admin/` launches `/wp-admin/index.php` (which
exists).

However, if `DirectoryIndex` file names are rearranged and `index.php` is no
longer first in the list:

```
DirectoryIndex index.html index.php index.cgi index.pl index.xhtml index.htm
FallbackResource /index.php
```

opening `/wp-admin/` disregards the existing `/wp-admin/index.php` and launches
`/index.php` instead, which (in case of WordPress) causes a redirection loop in
which the page keeps redirecting to itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to