Skip to content

Instantly share code, notes, and snippets.

@vyspiansky
Created February 1, 2023 10:10
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 vyspiansky/ae55ab156ca02dc0423dfa30b58c9679 to your computer and use it in GitHub Desktop.
Save vyspiansky/ae55ab156ca02dc0423dfa30b58c9679 to your computer and use it in GitHub Desktop.
Apache snippets

Apache

Restart Apache on Ubuntu

sudo service apache2 restart

Config file

/etc/apache2/apache2.conf

Checking Apache configuration

apachectl configtest

Version

apache2 -V

Error Logs

Debian/Ubuntu Linux Apache error log file location – /var/log/apache2/error.log.

Access Logs

Debian/Ubuntu Linux Apache access log file location – /var/log/apache2/access.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment