by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

Configuration file syntax check (run syntax check for config files)

apachectl -t
Syntax OK

Show all loaded modules (show all loaded modules)

-M is equivalent to -t -D DUMP_MODULES.

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

Display modules compiled into Apache Server.

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

Tags: linux

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


linux

How rsync automatically allows ssh key fingerprints

When we use ssh to connect to the host for the first time, a fingerprint confirmation of the host key will be displayed. Sometimes use rsync for some automated scheduling, maybe the remote host has changed and needs to be automatically allowed, How to let ssh automatically allow fingerprints to connect without manually pressing yes in interactive mode?

linux

About setfacl

I think most of the current Linux supports Access Control List (ACL). With filesystem ACLs enabled, We can set additional permissions to different users or groups. This allows us to set the file system permissions of different users more freely. Go straight to the command.

linux

haproxy 1.8.9 compilation record

Record the process of compiling haproxy 1.8.9 under Ubuntu.