Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Steps to reproduce:
- Add a new verification
- Select custom engine
- Upload a verification file
- Name the file with a .txt extension
Result:
404 error when visiting the resulting verification page. Site is hosted on Acquia, 404 is from nginx, not from the site.
Additional information:
Edited the name of the file to end in .html and the verification page worked as expected. It appears that the filename must end in .html.
Comments
Comment #2
lisotton CreditAttribution: lisotton at CI&T commentedHi,
I tested it locally and I couldn't reproduce it. Is this error happening only in Acquia environment? If so, you should contact Acquia support, because maybe some rule in Load Balancers could being applied and blocking this request.
Best regards,
Leandro L. Isotton
Comment #3
rimen CreditAttribution: rimen commentedI think the reason is drupal_fast_404() enabled in settings.php
Comment #4
kreynen CreditAttribution: kreynen at University of Colorado Boulder commentedThis is specific to the hosting environment based on the file suffix handling and is not an issue that can be resolved by the changes to the project's code.