
<VirtualHost *:80>
	ServerName $name

	ErrorLog $logs/error.$name
	CustomLog $logs/access.$name combined

	DocumentRoot $root

	<Proxy http://$ip:$port>
	  Allow from all
	</Proxy>

	RewriteEngine on
	RewriteRule ^(.*) $rewrite [L,P]

	ExpiresActive On
	ExpiresByType image/gif A86400
	ExpiresByType image/png A86400
	ExpiresByType image/jpeg A86400
	ExpiresByType text/css A86400
	ExpiresByType text/javascript A86400
	ExpiresByType application/x-javascript A86400

</VirtualHost>
