You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some case if an user try to override ErroDocument feature in its .htacess, As ErrorDocument 404 /404.php
Any wrong url with php extension will be catch by fpm and not errordocument, as we have set a <FilesMatch \.php$> on Virtualhost. This directive as precedence about .htaccess
Looks natural to change this behavior and we have two options to change fpm template :
ProxyErrorOverride looks easier, but I'm not sure about errodocument managed directly by an CMS.
If test looks more accurate but could impact performance.
To discuss before provide any global solution
The text was updated successfully, but these errors were encountered:
Hi
On some case if an user try to override ErroDocument feature in its .htacess, As
ErrorDocument 404 /404.php
Any wrong url with php extension will be catch by fpm and not errordocument, as we have set a
<FilesMatch \.php$>
on Virtualhost. This directive as precedence about .htaccessLooks natural to change this behavior and we have two options to change fpm template :
ProxyErrorOverride On
ProxyErrorOverride looks easier, but I'm not sure about errodocument managed directly by an CMS.
If test looks more accurate but could impact performance.
To discuss before provide any global solution
The text was updated successfully, but these errors were encountered: