简体   繁体   English

httpd-2.4.16程序包中的httpd.conf文件在哪里?

[英]where is httpd.conf file in httpd-2.4.16 package?

I have downloaded httpd-2.4.16.tar.gz package from http://www.apache.org/dist/httpd/ 我已经从http://www.apache.org/dist/httpd/下载了httpd-2.4.16.tar.gz软件包

and extracted on my ubuntu 14.04 LTS two times but i am unable to find conf directory so that i configure httpd.conf file present in this directory as mentioned in http://httpd.apache.org/docs/2.4/install.html#customize 并在我的ubuntu 14.04 LTS上提取了两次,但是我找不到conf目录,因此我按照http://httpd.apache.org/docs/2.4/install.html#中的说明配置了此目录中存在的httpd.conf文件。 定制

One directory i found in this package at /docs/conf but in this package i found httpd.conf.in instead of httpd.conf is it correct directory for configuration? 我在此软件包的/ docs / conf中找到了一个目录,但是在此软件包中,我找到了httpd.conf.in而不是httpd.conf ,这是配置的正确目录吗?

Thanks 谢谢

Use find /etc -name httpd 使用find / etc -name httpd

This will produce a list of all files within that directory that contain httpd 这将产生该目录中包含httpd的所有文件的列表

Or use: 或使用:

find / -name httpd.conf 查找/ -name httpd.conf

which will produce the full path of wherever httpd.conf is situated. 这将生成httpd.conf所在位置的完整路径。

Actually conf file appear after installation of apache. 实际上conf文件在安装Apache之后出现。 I was finding it inside extracted directory of httpd-2.4.16.tar.gz . 我在httpd-2.4.16.tar.gz的提取目录中找到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM