Enabling / Disabling Modules / Sites in Apache 2 on Ubuntu

| 1 Comment
I really like the way Debian and Ubuntu handle Apache 2 modules and virtual host configurations. By using symlinks between the installed modules and the directory for the active ones, you can easily turn them on and off. It couldn't be easier, or could it? Well it can actually! There are a number of binaries available that can handle all of this even more gracefully (at least they appear to): a2enmod a2ensite a2dismod a2dissite a2enmod enables modules, while a2dismod disables them. The other two have a similar function with regard to virtual sites (vhosts). Nifty! Of course they may have a downside as well.. I'm yet to experiment that much with them
  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0 /5( 0 votes cast)

1 Comment

No real downside compared to making/breaking symlinks; that's exactly what those programs do.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.2-en

About this Entry

This page contains a single entry by Michele Neylon published on August 8, 2006 8:30 PM.

Firefox on Ubuntu - Slowing Down? was the previous entry in this blog.

Adsense Optimisation - Finding the Right Balance is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.