### www.example.com Options All MultiViews ExecCGI AddHandler cgi-script cgi pl AllowOverride All Order allow,deny Allow from all ServerName www.example.com DocumentRoot /var/www/localhost/htdocs # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerName www.example.com DocumentRoot /var/www/localhost/htdocs SSLEngine On SSLCertificateFile /etc/apache2/ssl/apache.pem # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ### subdomain.example.com Options All MultiViews ExecCGI AddHandler cgi-script cgi pl AllowOverride All Order allow,deny Allow from all ServerName subdomain.example.com DocumentRoot /var/www/dev/htdocs # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerName subdomain.example.com DocumentRoot /var/www/dev/htdocs SSLEngine On SSLCertificateFile /etc/apache2/ssl/apache.pem # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined