by Devin Yang

建立於: 6年前 ( 更新: 6年前 )

組態檔語法檢查 (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, python, colab

如何從我們的Server透過ssh連線到colab?

介紹我寫的一支bash,用來透過ssh連線到colab vm內。 一行指令,搞定colab OpenSSH Server。

linux

關於setfacl

我想現在的Linux大多支援Access Control List (ACL)。在檔案系統ACL啟用的情況下, 我們可以設定額外的權限給不同的使用者或群組。 這讓我們更加自由的來設定不同使用者的檔案系統權限。 直接來看命令。

linux, cli

如何用find指令,找7天內變動過的檔案

如果我們變更過一些檔案,如何透過命令列找出來呢?