Where does Apache store its configuration files?

Updated -

In Red Hat Enterprise Linux, Apache is, by default, installed in /etc/httpd. But this path also depends on how apache has been compiled. To know the location where apache is installed, run the following command:

  # httpd -V

The command will generate result similar to this:

  Server version: Apache/2.0.52
  Server built:   Dec 15 2005 ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content