go to
> apache2ctl(8)
Homepage > Man Pages > Category > Maintenance Commands
Homepage > Man Pages > Name > A


man page of a2ensite

a2ensite: enable or disable an apache2 site / virtual host


a2ensite, a2dissite - enable or disable an apache2 site / virtual host


a2ensite [site] a2dissite [site]
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.
a2dissite default Disables the default site.


/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.




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. 8 June 2007 A2ENSITE(8)

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 38.78ms.

brieftaubenversteigerung.com | brennholz-eichelberg.de | dfptutorial.com