![/etc/apache2에 httpd.conf 파일이 없는 이유는 무엇입니까?](https://linux55.com/image/68747/%2Fetc%2Fapache2%EC%97%90%20httpd.conf%20%ED%8C%8C%EC%9D%BC%EC%9D%B4%20%EC%97%86%EB%8A%94%20%EC%9D%B4%EC%9C%A0%EB%8A%94%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
우분투 14.04 LTS를 설치했습니다. 우분투는 Apache2와 함께 제공되는 것 같지만 apache2
폴더에는 없습니다 httpd.conf
.
이 파일이 누락된 이유는 무엇이며 파일을 생성하려면 어떻게 해야 합니까?
답변1
모든https://help.ubuntu.com/lts/serverguide/httpd.html모든 구성 옵션이 하위 디렉터리로 이동되었습니다.
httpd.conf: historically the main Apache2 configuration file, named after the httpd daemon. Now the file does not exist. In older versions of Ubuntu the file might be present, but empty, as all configuration options have been moved to the below referenced directories.
각 하위 디렉터리의 이름과 설명은 참조 링크를 확인하세요.
답변2
이 파일 httpd.conf는 여전히 RedHat, Centos, Ferodra에 존재하지만 이제 이 파일은 우분투에는 존재하지 않습니다.
- apache2.conf: Apache2 기본 구성 파일입니다. Apache2에 대한 전역 설정이 포함되어 있습니다.