# do not trailing-slash DocumentRoot

<VirtualHost *:80>
	ServerName tb.mit.edu
	ServerAlias tb
	DocumentRoot /afs/athena.mit.edu/user/y/a/yasyf/web_scripts/textbooks
	Alias /~yasyf /afs/athena.mit.edu/user/y/a/yasyf/web_scripts
	SuExecUserGroup yasyf yasyf
	Include conf.d/vhosts-common.conf
</VirtualHost>

<IfModule ssl_module>
	<VirtualHost *:443>
		ServerName tb.mit.edu
		ServerAlias tb
		DocumentRoot /afs/athena.mit.edu/user/y/a/yasyf/web_scripts/textbooks
		Alias /~yasyf /afs/athena.mit.edu/user/y/a/yasyf/web_scripts
		SuExecUserGroup yasyf yasyf
		Include conf.d/vhosts-common-ssl.conf
		SSLCertificateFile /etc/pki/tls/certs/tb.pem
		SSLCertificateChainFile /etc/pki/tls/certs/tb.pem
		SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
	</VirtualHost>
	<VirtualHost *:444>
		ServerName tb.mit.edu
		ServerAlias tb
		DocumentRoot /afs/athena.mit.edu/user/y/a/yasyf/web_scripts/textbooks
		Alias /~yasyf /afs/athena.mit.edu/user/y/a/yasyf/web_scripts
		SuExecUserGroup yasyf yasyf
		Include conf.d/vhosts-common-ssl.conf
		Include conf.d/vhosts-common-ssl-cert.conf
		SSLCertificateFile /etc/pki/tls/certs/tb.pem
		SSLCertificateChainFile /etc/pki/tls/certs/tb.pem
		SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
	</VirtualHost>
</IfModule>
