by Devin Yang

建立于: 7年前 ( 更新: 7年前 )

组态档语法检查 (run syntax check for config files)

apachectl -t
Syntax OK

显示所有加载的模块 (show all loaded modules)

-M相当於-t -D DUMP_MODULES。

apachectl -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
略...
proxy_ajp_module (shared)
 python_module (shared)
 ssl_module (shared)
Syntax OK

显示编译进Apache Server中的模块.

apachectl -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

Tags: linux

Devin Yang

文章内容无法一一说明,如果您有什么不了解处,欢印提问哦:)

No Comment

Post your comment

需要登入才可留言!

类似文章


linux, cli

如何用find命令,找7天内变动过的文件

如果我们变更过一些文件,如何透过命令行找出来呢?

cli,linux,macos

如何用find删除创建时间为准的旧文件

这功能很好用,但要很小心,先看再删,弄错目录会死很惨 

linux

关於setfacl

我想现在的Linux大多支持Access Control List (ACL)。在文件系统ACL激活的情况下, 我们可以设置额外的权限给不同的使用者或群组。 这让我们更加自由的来设置不同使用者的文件系统权限。 直接来看命令。