Randy Tang
Randy Tang

Reputation: 4353

Ubuntu install apache2 no httpd.conf

I was following this tutorial to install apache2 with mod_wsgi. When I came to the step Loading Module Into Apache, I need to edit the httpd.conf file to load modules. However, there is no such file in /etc/apache2.

The file structure of /etc/apache2 is as follows:

apache2.conf
conf-available/
conf-enabled/
envvars
magic
mods-available/
mods-enabled/
ports.conf
sites-available/
sites-enabled/

Did I miss anything? Or what should I do then?

Upvotes: 0

Views: 813

Answers (1)

Victor
Victor

Reputation: 470

Configuration file is no longer included. If you have the Apache sources available, you have the sample file in docs/conf/httpd.conf. Copy it to /etc/apache2 or /etc/httpd/conf.d/ (depending on the distribution).

Upvotes: 1

Related Questions