# do not trailing-slash DocumentRoot

<VirtualHost *:80>
	ServerName mithub.mit.edu
	ServerAlias mithub
	DocumentRoot /afs/sipb.mit.edu/project/mithub/web_scripts
	Alias /~mithub /afs/sipb.mit.edu/project/mithub/web_scripts
	SuExecUserGroup mithub mithub
	Include conf.d/vhosts-common.conf
</VirtualHost>

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