Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

Apache Configs

Configs

Test Configuration

apache2ctl -t

Show Headers and Sites Configured

apache2ctl -S

List Installed Modules

apache2ctl -M
apache2ctl -l

Global Configuration File

vim /etc/apache2/apache2.conf

Specific Site Configs

vim /etc/apache2/sites-enabled/bleh.conf
vim /etc/apache2/sites-available/bleh.conf

Enable or Disable a Config

a2enable bleh
a2disable bleh