Last active
December 16, 2015 23:59
-
-
Save tjoskar/5517266 to your computer and use it in GitHub Desktop.
Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Apache: | |
# enable site | |
sudo a2ensite | |
# disable site | |
sudo a2dissite | |
# enable an apache2 module | |
sudo a2enmod | |
# e.g. a2enmod php4 will create the correct symlinks in mods-enabled to allow the module to be used. In this example it will link both php4.conf and php4.load for the user | |
# 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