httpd.conf在哪里?

问题描述 投票:0回答:2

我想在Ubuntu机器上部署一个django应用程序。

我安装了apache2:

sudo apt-get install apache2

接下来,我必须编辑httpd.conf(我正在阅读this documentation),但我不知道它在哪里。

httpd.conf在哪里?

django apache ubuntu
2个回答
0
投票

Ubuntu and Debian

配置文件将在/etc/apache2/

根据answer on another question,该文件也可能被命名为apache2.conf

CentOS

该文件将在/etc/httpd/


0
投票

Ubuntu和debian

/etc/apache2/apache2.conf

Centos和redhat

/etc/httpd/conf/httpd.conf
© www.soinside.com 2019 - 2024. All rights reserved.