apache2 status
sudo systemctl status apache2
apache2 status
sudo systemctl status apache2
apache status
$ sudo systemctl status apache2.service
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-02-24 20:39:39 UTC; 5 days ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 115 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Process: 15247 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
Main PID: 128 (apache2)
Tasks: 6 (limit: 4672)
Memory: 16.4M
CGroup: /system.slice/apache2.service
├─ 128 /usr/sbin/apache2 -k start
├─15254 /usr/sbin/apache2 -k start
├─15255 /usr/sbin/apache2 -k start
├─15256 /usr/sbin/apache2 -k start
├─15257 /usr/sbin/apache2 -k start
└─15258 /usr/sbin/apache2 -k start
Feb 27 00:00:23 ubuntu-db-mgmnt systemd[1]: Reloaded The Apache HTTP Server.
Feb 28 00:00:23 ubuntu-db-mgmnt systemd[1]: Reloading The Apache HTTP Server.
check if apache new config is running centos
To check Apache new configuration run this command line:
apachectl configtest
apache server status tutorial
User webuser
Group webgroup
ServerName www.butterthlies.com
DocumentRoot /usr/www/site.status/htdocs
<Location /status>
order deny, allow
allow from 192.168.123.1
deny from all
SetHandler server-status
</Location>
<Location /info>
order deny, allow
allow from 192.168.123.1
deny from all
SetHandler server-status
SetHandler server-info
</Location>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us