File .htaccess in drupal-6.4 directory contains an error.

The following file is missing the end quote:

ErrorDocument 404 "The requested file favicon.ico was not found.

This leads to the rest of the file being unprocessed by the system.

#1 htaccess-6.4.diff321
Members fund testing for the Drupal project. Drupal Association Learn more

Comments’s picture

321 bytes

Patch attached.

gpk’s picture

Component: file system » base system
Status: Active » Postponed (maintainer needs more info)

Which version of Apache are you running?

AFAIK 1.x treats the end quote as part of the string, 2.x is happy with and without end quote.

Or maybe you're not using Apache?

Here is the issue that introduced the problematic code: #174940: Useless favicon.ico 404 messages in logs.

Damien Tournoud’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
gpk’s picture

Status: Closed (duplicate) » Postponed (maintainer needs more info)

Um, the other issue has status "by design".

Morteni is saying that this causes a problem in the processing of the file, we are awaiting notification of which ?Apache version is not playing nicely with this.

BENNYSOFT’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
gpk’s picture

@morteni: Does the patch over at #281131: Missing quotation mark in .htaccess line fix your original problem i.e. .htaccess not being processed properly?

Problems with syntax highlighting in editors as reported in the other issue are rather less important than this, but in the absence of a further reply from morteni or independent confirmation of the problem with the processing of .htaccess there's little more that can be said about it at this stage.