Reverse proxy server - Apache

Ubuntu’s apache2.conf and Arch Linux’s httpd.conf are the same. Do not get confused by them.

Commands

sudo systemctl start httpd
sudo systemctl stop httpd
sudo systemctl restart httpd

sudo systemctl status httpd
sudo systemctl status httpd -l --no-pager (to see log statements that are not truncated in terminal)

Troubleshooting start-up errors

Usually, the location of the logs for httpd can be found by looking at /etc/httpd/logs. Sometimes, this points to /var/logs/httpd file.

Documentation


Links to this note