Skip to content

Instantly share code, notes, and snippets.

@myusuf3
Created September 14, 2011 01:34
Show Gist options
  • Save myusuf3/1215652 to your computer and use it in GitHub Desktop.
Save myusuf3/1215652 to your computer and use it in GitHub Desktop.
apache useful locations and commands
# location for available and enabled sites with Apache as well as modules like mod_wsgi
/etc/apache2/
# whenever something goes wrong here is where Apache makes note of it;
# think of it as persistent debug tool.
/var/log/apache2/error.log
# reload apache2, do this after new deploys or code changes
/etc/init.d/apache2 reload
# to restart apache
/etc/init.d/apache2 restart
# to stop apache
/etc/init.d/apache2 stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment