Where is httpd.conf on Ubuntu?

FeaturedTechnology
0
Sabrina B Posted

I am running apache2 on Ubuntu.  Can someone tell me where httpd.conf is that I’m supposed to edit?

1

Hello,

By default, there is no httpd.conf for apache2 on ubuntu. The apache configuration file is /etc/apache2/apache2.conf

0
Ketti Larson

The httpd.conf is designed for user configurations. You really should not edit the apache2.conf as it may be updated by future upgrades.

An additional option is to just put your custom configuration into /etc/apache2/conf.d, all files in this directory are included as well.

0
Krikka Tukka

sorry i can’t help you

0
Rebecca

Visit the page – I mean official support page in case you need her!

0
Gil Jamito

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