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

Comments

jhodgdon’s picture

Issue tags: +Novice

Should 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.

zealfire’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

Made the required changes.Please review.
Thanks.

jhodgdon’s picture

Version: 7.34 » 7.x-dev
Status: Needs review » Reviewed & tested by the community

Looks good to me, thanks!

As a note, Drupal 8 does not suffer from this same problem.

stevebresnick’s picture

Assigned: Unassigned » stevebresnick
stevebresnick’s picture

Assigned: stevebresnick » Unassigned
chuchunaku’s picture

Assigned: Unassigned » chuchunaku

chuchunaku’s picture

Assigned: chuchunaku » Unassigned
mikemiles86’s picture

Issue tags: +SprintWeekend2015
jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x. Sorry for the delay!

  • jhodgdon committed 4d1840e on 7.x
    Issue #2407175 by zealfire: Documentation error in default.settings.php
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.