# do not trailing-slash DocumentRoot

<VirtualHost *:80>
	ServerName cons.mit.edu
	ServerAlias cons
	DocumentRoot /afs/athena.mit.edu/course/6/6.035/web_scripts
	Alias /~6.035 /afs/athena.mit.edu/course/6/6.035/web_scripts
	SuExecUserGroup 6.035 6.035
	Include conf.d/vhosts-common.conf
</VirtualHost>

<IfModule ssl_module>
	<VirtualHost *:443>
		ServerName cons.mit.edu
		ServerAlias cons
		DocumentRoot /afs/athena.mit.edu/course/6/6.035/web_scripts
		Alias /~6.035 /afs/athena.mit.edu/course/6/6.035/web_scripts
		SuExecUserGroup 6.035 6.035
		Include conf.d/vhosts-common-ssl.conf
		SSLCertificateFile /etc/pki/tls/certs/cons.pem
		SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048.key
	</VirtualHost>
	<VirtualHost *:444>
		ServerName cons.mit.edu
		ServerAlias cons
		DocumentRoot /afs/athena.mit.edu/course/6/6.035/web_scripts
		Alias /~6.035 /afs/athena.mit.edu/course/6/6.035/web_scripts
		SuExecUserGroup 6.035 6.035
		Include conf.d/vhosts-common-ssl.conf
		Include conf.d/vhosts-common-ssl-cert.conf
		SSLCertificateFile /etc/pki/tls/certs/cons.pem
		SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048.key
	</VirtualHost>
</IfModule>
