Ubuntu安装apache2没有httpd.conf

Ubuntu安装apache2没有httpd.conf,ubuntu,apache2,Ubuntu,Apache2,我是在安装带有mod_wsgi的apache2。当我进入将模块加载到Apache中的步骤时,我需要编辑httpd.conf文件来加载模块。但是,/etc/apache2中没有这样的文件 /etc/apache2的文件结构如下: apache2.conf conf-available/ conf-enabled/ envvars magic mods-available/ mods-enabled/ ports.conf sites-available/ sites-enabled/ 我错过什么

我是在安装带有mod_wsgi的apache2。当我进入将模块加载到Apache中的步骤
时,我需要编辑
httpd.conf
文件来加载模块。但是,
/etc/apache2
中没有这样的文件

/etc/apache2的文件结构如下:

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

我错过什么了吗?或者我该怎么办?

配置文件不再包括在内。如果您有可用的Apache源代码,那么示例文件位于
docs/conf/httpd.conf
中。将其复制到<代码> /ETC/APACHE2或<代码> /ETC/HTPDP/COND.D/<代码>(取决于分布)。

将该模块添加到Apache E2.CONFILLILIUX发行版中,使用自己独特的Apache布局,不遵循标准的Apache软件基础布局。因此,关于如何启用mod_wsgi模块,您应该参考特定于Linux的文档,而不是使用mod_wsgi文档。根据您正在做的事情,您可能会发现最初使用mod_wsgi express更容易。看见