Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Where is httpd.conf on Ubuntu?

Technology
0
Sabrina B Posted

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

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

0
Rebecca

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

0

sorry i can’t help you

0
Ketti Larson0

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

Httpd.conf Location
On Ubuntu, httpd.conf is located in the directory /etc/apache2. apache2.conf is also located in /etc/apache2

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.