Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting
.TH a2ensite "8" "June 2006" "a2ensite" 
.SH NAME
a2ensite \- Enables Apache2 sites
.SH SYNOPSIS
.B a2ensite
[\fIOPTION\fR] [\fIsite\fR] [\fIsite\fR]...
.SH DESCRIPTION

.B a2ensite
simplifies the relationship between available and 
live, (or enabled), sites, by creating a user interface which controls
the creation of symbolic links between configuration files
in /etc/apache2/sites-available/ and /etc/apache2/sites-enabled/.
.PP
.B a2ensite
allows you to pass the names of configuration files, (which exist
in /etc/apache2/sites-available/), from the command line, or will
generate a listing of available sites if no arguments are given.  
(File globbing is available).
.PP
.SH OPTIONS
.TP
\fB\-f\fR
run in non-interactive mode, (do not prompt user for confirmation when enabling a site).
.TP
\fB\-h\fR
display help message and exit
.PP
.SH "EXAMPLES"
.PP
.B a2ensite
.PP
Generate a list of 
.B available 
sites and prompt for user to input a list of sites which they would like to enable.  
This runs a2ensite in default 
.B interactive 
mode, and will prompt the user for confirmation before enabling any site.
.PP
.B a2ensite -f
.PP
Same as previous example, except that it runs a2ensite in
.B non-interactive
mode. (It will not prompt the user for confirmation before
enabling a site).
.PP
.B a2ensite default
.PP
Enables the default site. (interactive mode)
.PP
.B a2ensite \-f default test2? test1
.PP
Enables the default site, plus test1, and all of the sites which 
match the globbing pattern test2?, (ie test20, test21, ... test29). (non-interactive mode)
.PP
.SH AUTHOR
This manual page was written by Shannon Eric Peevey .
.PP
.SH "SEE ALSO"
a2dissite(8), a2enmod(8), a2dismod(8)

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library