Al instalar nuestra web sobre un servidor dedicado, nos hemos encontrado con el siguiente error del Servidor web:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Miro el errorlog y me encuentro:
[Mon Jul 13 16:48:31 2009] [alert] [client 190.161.160.132] /var/www/vhosts/mi-dominio.es/httpdocs/.htaccess: Invalid command 'ExpiresActive', perhaps misspelled or defined by a module not included in the server configuration, referer: 74.125.93.132/search?q...=firefox-a
[Mon Jul 13 16:48:31 2009] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
EL fallo se soluciona en el fichero .htaccess comentando algunas lineas que usan el modulo Expires.
El segundo error comentando la linea:
# RewriteCond %{REQUEST_FILENAME} -f [NC,OR]