/etc/apache2/sites-available/default - Ubuntu 12.04.1 - Default File

Attached below is the orginal /etc/apache2/sites-available/default file. This file holds the vhost settings setting for the default website /var/www/ website directory. The file is from Ubuntu 12.04.1 (32-bit) system. 




System Information (File was pulled from):

Ubuntu 12.04.1 (32-Bit)




File Permissions:

4 -rw-r--r-- 1 root root 950 Feb  6  2012 /etc/apache2/sites-available/default







File Contents:


<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from ::1/128





How to Install LAMP, phpMyAdmin and Collabtive on Ubuntu 10.04 Server 

How to install LAMP on Ubuntu (Linux, Apache, MySQL and PHP) in one command

How To Install and Configure Ubuntu 11.04 As A Web Server



If you have a file that you would like to see added please send an email on the contact page and let us know about it. 

Original File: