apachectl is the front-end program of the Apache HTTP server. It is designed to help administrators control the functionality of the Apache httpd daemon.
The apachectl script has two modes of operation. First, as a simple httpd front-end program, set all the necessary environment variables, then start httpd and pass all the command-line arguments. Second, as a SysV initialization script, accept a simple word argument, such as: start, restart, stop, and translate them to the appropriate signal to send to httpd.
If your Apache installation is in a non-standard path, you will need to modify the apachectl script to make the path to the httpd program correctly. In addition, you can specify any necessary httpd command line arguments. See the comments in the script for details.
The apachectl script returns 0 if it succeeds; if it fails, it returns a value of >0. See the comments in the script for more details.
Syntax
Apacctl can accept all parameters valid for the httpd program when playing the role.
apachectl [ httpd-argument ] In SysV initialization mode, apachectl only accepts a simple word command as follows: apachectl command The following options were only used in earlier versions and are now deprecated.
Options
The following only describes the options for the SysV initialization type. For other parameters, see the httpd man page.
When we write the shell, there will be such a scene: For example: I want to back up the passwd fil
According to the US technology blog TNW, the well-known Linux vendor Canonical today released and de
The icons in the upper left corner of Windows 7 Explorer are Favorites, Desktops, and various Librar
Generally speaking, after installing ubuntu, the centralized display driver has been installed. Howe
Squid3 reverse proxy installation and configuration basic tutorial
Centos network card eth1 becomes eth0 modification method
Retrieve the Linux superuser root password
Linux telnet service opening steps
Memcache installation under Linux (with libevent installation) Tutorial
Restore deleted files under Ext3
Linux shell script to remove source annotations
Linux kernel driver initialization sequence is adjusted
Copy data to achieve breakpoint resume
How to use Win7 Loader? How to use the Win7 activation tool Loader
How to set up remote desktop connection command for win7 remote desktop connection
Win10's first anniversary update official ISO image will be released on August 2nd,
What if Win7 has a DNS error and cannot access the Internet?
Nine services in Windows 7 that can't be turned off
Win10 system comes with virtual machine Hyper-v networking solution