# do not trailing-slash DocumentRoot

<VirtualHost *:80>
	ServerName mitsoc.mit.edu
	ServerAlias mitsoc
	DocumentRoot /afs/athena.mit.edu/activity/m/mitsoc/web_scripts
	Alias /~mitsoc /afs/athena.mit.edu/activity/m/mitsoc/web_scripts
	SuExecUserGroup mitsoc mitsoc
	Include conf.d/vhosts-common.conf
</VirtualHost>

<IfModule ssl_module>
	<VirtualHost *:443>
		ServerName mitsoc.mit.edu
		ServerAlias mitsoc
		DocumentRoot /afs/athena.mit.edu/activity/m/mitsoc/web_scripts
		Alias /~mitsoc /afs/athena.mit.edu/activity/m/mitsoc/web_scripts
		SuExecUserGroup mitsoc mitsoc
		Include conf.d/vhosts-common-ssl.conf
		SSLCertificateFile /etc/pki/tls/certs/mitsoc.pem
	</VirtualHost>
	<VirtualHost *:444>
		ServerName mitsoc.mit.edu
		ServerAlias mitsoc
		DocumentRoot /afs/athena.mit.edu/activity/m/mitsoc/web_scripts
		Alias /~mitsoc /afs/athena.mit.edu/activity/m/mitsoc/web_scripts
		SuExecUserGroup mitsoc mitsoc
		Include conf.d/vhosts-common-ssl.conf
		Include conf.d/vhosts-common-ssl-cert.conf
		SSLCertificateFile /etc/pki/tls/certs/mitsoc.pem
	</VirtualHost>
</IfModule>
