There is a syntax error on line 22 of the .htacces file of drupal. It says:

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

And it should say:

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

Comments

keith.smith’s picture

Status: Active » Closed (works as designed)

The comment directly above that line (in my copy of Drupal-6.x-dev) says:

# There is no end quote below, for compatibility with Apache 1.3.

damien tournoud’s picture

Status: Closed (works as designed) » Closed (won't fix)

Please read the line just above:

  # There is no end quote below, for compatibility with Apache 1.3.
  ErrorDocument 404 "The requested file favicon.ico was not found.
jackbravo’s picture

My bad. Didn't read the code above. I'm very embarrassed.

Donovan’s picture

OK. But ... that missing end quote breaks .htaccess.

On my 6.x stable install this has resulted in an installation error stating:

"register_globals is enabled. Drupal requires this configuration directive to be disabled."

... when in-fact register_globals is DISabled in .htaccess. However, the missing end quote causes it to be ignored.

Can an end quote be added for non-Apache 1.3 installations?

seismicmike’s picture

Sounds to me like the best solution would be to add the quote if you need it. That's what I did.