Apache can not start with the log "could not open mime types config file /etc/mime.types."

Solution Unverified - Updated -

Issue

EWS(apache) can not start properly with error log like following

Configuration Failed
[Thu Jun 26 15:13:57 2014] [error] (2)No such file or directory: could not open mime types config file /etc/mime.types.

If related configuration line is commented out in httpd.conf, it just try to search another path for the file.

# TypesConfig describes where the mime.types file (or equivalent) is
# to be found.
#
#TypesConfig /etc/mime.types

Environment

Red Hat JBoss Web Server
- 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.