22

can someone tell me the path of the Apache2 config file on Ubuntu. Thanks!

Amal Antony
  • 6,477
  • 14
  • 53
  • 76
  • 2
    It depends on your version of Ubuntu, but newer versions have it in /etc/apache2. The files are apache2.conf and httpd.conf (usually empty) – arunkumar Sep 02 '11 at 16:28
  • This link provides nice tables for different locations on different servers https://wiki.apache.org/httpd/DistrosDefaultLayout – 3pitt May 17 '18 at 18:26

1 Answers1

29

You should read the Ubuntu server guide. It will probably answer most of your beginner questions on getting your web server setup (including the question you asked, which the guide states is in /etc/apache2/).

Justin Helgerson
  • 24,900
  • 17
  • 97
  • 124