Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # Apache
  2.  
  3. ## enable site
  4. sudo a2ensite
  5.  
  6. ## disable site
  7. sudo a2dissite
  8.  
  9. ## enable an apache2 module
  10. sudo a2enmod
  11.  
  12. ## 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
  13.  
  14. ## disable an apache2 module
  15. sudo a2dismod
  16.  
  17. ## force reload the server:
  18. sudo /etc/init.d/apache2 force-reload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement