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

Raspberry Pi 3 Raspberry Pi operating system installation

In this article, share the use of built-in instructions on MacOS to install the operating system of Raspberry Pi. Regarding the dd command during this installation process, please carefully specify the parameter of your of, which is the location of the write output to the file, If you make a mistake, your system will be destroyed.

linux

How to create an ssh key so that your computer can connect to the instance of GCE

Recently, I just started using Google's GCE, and I will record the official Goolge documentation on how to generate a key for the instance to use. The -C comment here will use the name of the logged-in user, and the -t will use rsa.

linux,system

Detect whether selinux is enabled in the system

Detect whether selinux is enabled in the system