Skip to content

Instantly share code, notes, and snippets.

@faffyman
Created November 13, 2013 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faffyman/7453182 to your computer and use it in GitHub Desktop.
Save faffyman/7453182 to your computer and use it in GitHub Desktop.
Reminder hint list of Unix commands for working with apache
# enable a site
sudo a2ensite
# disable a site
sudo a2dissite
# enable an apache2 module
sudo a2enmod
# a2enmod [modulename]
# disable an apache2 module
sudo a2dismod
# force reload the server:
sudo /etc/init.d/apache2 force-reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment