a2ensite (8)
Name
a2ensite, a2dissite - enable or disable an apache2 site / virtual host
Synopsis
a2ensite [site]
a2dissite [site]
Description
This manual page documents briefly the a2ensite and a2dissite commands.
a2ensite is a script that enables the specified site (which contains a <VirtualHost> block) within the apache2 configuration. It does this by creating symlinks within /etc/apache2/sites-enabled. Likewise, a2dissite disables a site by removing those symlinks. It is not an error to enable a site which is already enabled, or to disable one which is already disabled.
The default site is handled specially: The resulting symlink will be called 000-default in order to be loaded first.
Examples
a2dissite default
Disables the default site.
Files
/etc/apache2/sites-available
Directory with files giving information on available sites.
/etc/apache2/sites-enabled
Directory with links to the files in sites-available for enabled
sites.
See Also
Author
This manual page was written by Stefan Fritsch <sf@debian.org> (based on the a2enmod manual page by Daniel Stone <daniel@sfarc.net>) for the Debian GNU/Linux distribution.
Losowe
- HTML::FormFu::Element::Radio (3pm)
- Bio::Tools::Run::PiseApplication::pre... (3pm)
- pimd (1)
- SHRegQueryUSValueW (3w)
- xemeraldia (6x)
- MPE_Fill_rectangle (4)
- caca_transform (3caca)
- e2undel (8)
- r3.in.ascii (1grass)
- ietd.conf (5)
- chbmv (3)
- editrc (5el)
- newCDKGraph (3)
- Authen::Simple::Apache (3pm)
- Tk_CanvasEventuallyRedraw (3tk)
- bocursor (6)
- wdelch (3ncurses)
- KinoSearch::Index::PostingsWriter (3pm)
- log (9)
- TIFFRGBAImage (3t)
