• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Michele Neylon :: Pensieri

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

Enabling / Disabling Modules / Sites in Apache 2 on Ubuntu

August 8, 2006 by Michele Neylon 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

Related Posts:

  • privacy-keyboard-keys
    My Privacy Has Been Sold
  • ACDC-Dublin-Ticketmaster-Q
    The "Joys" of Acquiring Concert Tickets
  • computer-code-screens
    Dodgy WordPress Developer Tactics
  • 287022274_1210906719659909_5337755996671210927_n
    A Glut of Cucumbers
  • Michele-Fest
    If my Music Taste was a Festival ...
  • Instafest-mneylon-2023
    Another Year of Listening to Music Visualised (sort of)

Filed Under: Debian, Open Source, Techie :: Techno ::, Ubuntu

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Reader Interactions

Comments

  1. Rob says

    August 9, 2006 at 2:19 am

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

dotblog founder

Mastodon

Archives

  • Bluesky
  • Instagram
  • Threads
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Newsletter
  • Privacy

Blogroll

  • Blacknight Blog
  • Paul Savage – BlackDog SEO
  • Gordon Hudson
  • Tom Doyle
  • My Mastodon

Stalking Links

Subscribe to Michele Neylon :: Pensieri

Blogroll

  • Blacknight Blog
  • Damien Mulley
  • Gianni Ponzi
  • Gordon Hudson
  • Grandad
  • My Mastodon
  • Paul Savage – BlackDog SEO
  • Stewart Curry
  • Technology.ie Podcast
  • Tom Doyle

Sites

  • Business Travel Tips
  • Discount Coupon Codes
  • Domain News
  • Fat.ie – my diet blog
  • Film Posters
  • Film Reviews
  • Films
  • Free Desktop Wallpapers
  • Irish Blogger Discussion Forum
  • Irish Stamps
  • Movie Trailers and News
  • Paste.ie

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in