Question: Where Is Httpd. Conf Ubuntu?
Contents

2 Answers.

Ubuntu doesn’t use httpd.conf as standard, instead global configuration stuff for apache is found in /etc/apache2/apache2.conf .

You can create a httpd.conf in the apache2 directory, and load any further configuration from it by including the following line in /etc/apache2/apache2.conf.

Where is httpd conf on Linux?

On most systems if you installed Apache with a package manager, or it came preinstalled, the Apache configuration file is located in one of these locations:

  • /etc/apache2/httpd.conf.
  • /etc/apache2/apache2.conf.
  • /etc/httpd/httpd.conf.
  • /etc/httpd/conf/httpd.conf.

How do I open Apache config file in Ubuntu?

Configure Apache on Ubuntu

  1. Before you begin. Use aptitude to install Apache on your Ubuntu server.
  2. View the configuration file. To view the contents of the Apache configuration file, run the following commands: $ cd /etc/apache2 $ ls.
  3. Configuration settings.
  4. Enable sites and modules.
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest