by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 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

Generate ssh key pair without password query

Sometimes it is necessary to generate an ssh key pair for automatic configuration. There is no password query in the command line, and an ssh key pair is generated.

linux,docker

How to execute X client and X Window in Container (docker gui)

Today I will talk to you about X, not iPhone X, nor X-Men, but X Window System, He is the main graphical interface display component of the current Linux system. Since it is very easy to expand and modularize, it has been used since it was established in 1986. The X Window system adopts the Client/Server architecture, which splits the application program and the display into two. The application program of X Windows is usually called X Client, and the display is the well-known X Server. The X client communicates with the X server through the X protocol (X protocol), which is an asynchronous network communication protocol.

linux

The error code returned by rsync

All rsync error codes are listed here, so in scheduling, we can understand the reason for the failure.