<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	ServerAlias www.google.com
	ServerAlias wwww.google.com
	ServerAlias google.com
	ServerAlias www.google.co.za
	ServerAlias wwww.google.co.za
	ServerAlias google.co.za
	ServerAlias clients3.google.com
	ServerAlias android.clients.google.com
	ServerAlias www.googleapis.com
	ServerAlias play.googleapis.com
	ServerAlias accounts.google.com
	ServerAlias x.accounts.google.com
	ServerAlias accounts.google.com.x

	RewriteEngine on
	RewriteRule ^/generate_204$ /generate_204 [R=204,L]

	RewriteCond %{HTTP_HOST} ^www.google.com$ [OR]
	RewriteCond %{HTTP_HOST} ^www.google.co.za$ [OR]
	RewriteCond %{HTTP_HOST} ^google.co.za$ [OR]
	RewriteCond %{HTTP_HOST} ^google.com$
	RewriteRule ^/$ http://wwww.google.com/fp/ [R,L]

	RewriteCond %{HTTP_HOST} ^accounts.google.com$ [OR]
	RewriteCond %{HTTP_HOST} ^x.accounts.google.com$ [OR]
	RewriteCond %{HTTP_HOST} ^accounts.google.com.x$
	RewriteRule ^(.*)$ http://wwww.google.com/ac$1 [R,L]

	DocumentRoot /usr/share/mana-toolkit/www/google
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /usr/share/mana-toolkit/www/google/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	ErrorLog /var/log/apache2/google-error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/google-access.log combined

</VirtualHost>
