原文:怎样在Linux中查看apache是用那个httpd.conf

第一步:找到apache启动命令: root WAPBJ ps ef grep httpd root : : : usr sbin httpd k start myuser Jan : : home apache bin httpd f home apache conf httpd.conf k start 如果看到 httpd命令使用了 f选项,则可以直接得到配置文件目录。 如果httpd命令没 ...

2016-11-16 15:42 0 1809 推荐指数:

查看详情

centos查看apache用的是哪个httpd.conf

httpd -V得到类似如下结果: -D HTTPD_ROOT="/etc/httpd" -D SERVER_CONFIG_FILE="conf/httpd.conf" 然后,两个拼起来就是你要找的路径 ...

Mon Feb 27 18:54:00 CST 2017 0 2298
Apachehttpd.conf 详解

ServerRoot “/usr/local“      ServerRoot用于指定守护进程httpd的运行目录,httpd在启动之后将自动将进程的当前目录改变为这个目录,因此如果设置文件中指定的文件或目录是相对路径,那么真实路径就位于这个ServerR oot定义的路径之下 ...

Mon Jul 15 22:51:00 CST 2013 0 2844
apachehttpd.conf翻译

# This is the main Apache HTTP server configuration file. It contains the 这是Apache HTTP Server的主配置文件。它包括了 # configuration directives that give ...

Sat May 17 21:43:00 CST 2014 0 7278
Apachehttpd.conf 详解

ServerRoot “/usr/local“      ServerRoot用于指定守护进程httpd的运行目录,httpd在启动之后将自动将进程的当前目录改变为这个目录,因此如果设置文件中指定的文件或目录是相对路径,那么真实路径就位于这个ServerR oot定义的路径之下 ...

Thu Jul 05 23:34:00 CST 2018 0 887
Apache httpd.conf配置详解

"/usr/local/apache-2.2.6" 注意,此指令的路径最后不要加 / 。 ...

Sat Jul 20 17:21:00 CST 2019 0 15492
【转】Apache httpd.conf配置解释

转自:http://jafy00.blog.51cto.com/2594646/501373 常用配置指令说明 1. ServerRoot:服务器的基础目录,一般来说它将包含conf/和logs/子目录,其它配置文件的相对路径即基于此目录。默认为安装目录,不需更改。 语法 ...

Thu Feb 26 23:44:00 CST 2015 0 2119
Apache的配置httpd.conf文件配置

(1) 基本配置: ServerRoot "/mnt/software/apache2" #你的apache软件安装的位置。其它指定的目录如果没有指定绝对路径,则目录是相对于该目录。 PidFile logs/httpd.pid #第一个httpd进程(所有其他进程的父进程)的进程号文件位置 ...

Tue Apr 18 07:13:00 CST 2017 0 1342
Apache httpd.conf配置详解

/apache-2.2.6" 注意,此指令的路径最后不要加 / 。 2. Listen:指定服务器监听的I ...

Wed Jan 27 00:51:00 CST 2016 0 35856
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM