|
Web Contractors Web Developer Jobs Join Us / Log in Discussion |
sites-enabled and sites-default
Submitted by rimian on Sat, 06/23/2007 - 12:28
I was looking through some documentation to configure Apache on Ubuntu and came across these commands from debian to make it easy to manage your enabled sites and enabled modules:
a2ensite
Will create the symlinks in sites-enabled
a2dissite
Will remove the symlinks from sites-enabled
a2enmod
Will create the correct symlinks in mods-enabled to enable the module
a2dismod
Will remove the symlinks from mods-enabled to disable the module
Type in the command and you'll be prompted about which site or module to enable. This is easier than creating the symlink manually!
New forum topics
- [MELB] Web Developer | Web Designer | Graphic Designer | Marketing Manager
- Open Source Online Invoicing Software
- Professional Drupal Consulting, Design & Development Services in Australia
- New Year Speacial-Professional Website for 400$ with doamin+Host
- Ruby on Rails Oceana
- WebDev/Design/Research/Consultant - PHP/MySql, Javascript, Joomla, HTML, Flash, AJAX
- Freelance ASP.NET Developer
- System Monitoring with Nagios
- Learning Ruby? What about the RubyMentor Project?
- Need a team
- JAOO Sydney/Brisbane 2009
- Get Your Business a Website for $399 ONLY !!!
- Concrete5: Another CMS!
- Manage The Cloud with Amazon Web Services
- Crystal Reports developer needed


handy
Very handy indeed!
Post new comment