Support

Admin Tools

#42375 Problem with htccess and .map files

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.4.0
PHP version
8.3.26
Admin Tools version
7.8.3

Latest post by nicholas on Thursday, 23 October 2025 00:24 CDT

kbp

Hi,

I've created htaccess with Frontend protection enabled (default settings) and noticed that from time to time my Apache error.log starts to swell with these errors:

[core:error] [pid 3268838:tid 3268923] [client xxx.xxx.xxx.xxx:55881] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary.

It took me some time to find out when it happens. 2 conditions must be met:

1) Frontend protection must be enabled,

2) Dev console in browser must be open.

When this happens, browser forces my site to serve .js.map files, which sometimes are not even on my server. Then all these requests get blocked by generated htaccess:

[22/Oct/2025:21:48:47 +0200] "GET /plugins/path/to/file/somefile-min.js.map HTTP/1.1" 500 669 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"

and the above error is added to error.log.

When I disable Frontend protection, the same 'virtual' map file instead of 500 code, gets 302 and my error.log is clean. Of course I've added 'map' to allowed file types in htaccess generator, but nothing changed.

Now - what can I do in this situation? Whenever I open dev console, my error.log is getting stuffed very fast.

 

Cheers

Olek

nicholas
Akeeba Staff
Manager

Your server is very likely using custom error pages. Ask your host about the custom .htaccess code to add to disable them.

Also note that .map files are only accessed when you use dev tools. This is not something your regular site visitors will be doing.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!