The documentation for Fast 404 pages in file default.settings.php states :
In order to prevent valid pages such as image styles and other generated content that may match the
'404_fast_html' regular expression from returning 404 errors, it is necessary
to add them to the '404_fast_paths_exclude' regular expression above.Where it should be:
In order to prevent valid pages such as image styles and other generated content that may match the
'404_fast_pages' regular expression from returning 404 errors, it is necessary
to add them to the '404_fast_paths_exclude' regular expression above.Regards,
Martin
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | revised-setting-php-file-2407175-2.patch | 1.05 KB | zealfire |
Comments
Comment #1
jhodgdonShould be a good Novice issue... but I thin kthe regular expression is actually in '404_fast_paths' not '404_fast_html' as stated in settings.php now, and also not '404_fast_pages' as stated in this issue report.
Comment #2
zealfire commentedMade the required changes.Please review.
Thanks.
Comment #3
jhodgdonLooks good to me, thanks!
As a note, Drupal 8 does not suffer from this same problem.
Comment #4
stevebresnick commentedComment #5
stevebresnick commentedComment #6
chuchunaku commentedComment #8
chuchunaku commentedComment #9
mikemiles86Comment #10
jhodgdonCommitted to 7.x. Sorry for the delay!