?
avatar massikk
massikk
21 Nov 2019

Steps to reproduce the issue

Set an 410 (or some other) error page from .htaccess
Redirect 410 /example.html
Redirect gone /example/atom.xml
RewriteRule ^example/atom.xml$ - [G,L]

Expected result

Joomla must show error page correctly

Actual result

Joomla not show 410 (or some) error, but show 404 error.

System information (as much as possible)

Additional comments

If we set same error from native redirect component (in advanced mode) Joomla work correctly.
But set redirect and error from .htaccess is helpful for advanced rules

avatar massikk massikk - open - 21 Nov 2019
avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Nov 2019
avatar mbabker
mbabker - comment - 21 Nov 2019

I don't think there is anything that can be fixed here. Joomla isn't aware that you're trying to use it with Apache's ErrorDocument handler or following a Redirect rule, and there isn't anything passed from the web server to PHP to handle this (actually in your Redirect 410 /example.html case Joomla isn't even executed and Apache's error page is displayed when I test it locally).

avatar joomla-cms-bot joomla-cms-bot - close - 22 Nov 2019
avatar alikon alikon - change - 22 Nov 2019
Status New Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2019-11-22 20:00:40
Closed_By alikon
avatar joomla-cms-bot joomla-cms-bot - change - 22 Nov 2019
Status Expected Behaviour Closed
Closed_By alikon joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 22 Nov 2019

Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/27113

Add a Comment

Login with GitHub to post a comment