<VirtualHost *:80>
        RewriteEngine on

	RewriteRule "^/kalite(.*)"  "http://127.0.0.1:8008$1"

        AddOutputFilterByType SUBSTITUTE text/html
	Substitute "s|/management/|/kalite/management/|i"
	Substitute "s|/coachreports/|/kalite/coachreports/|i"
	Substitute "s|/static/|/kalite/static/|i"
	Substitute "s|/update/|/kalite/update/|i"
	Substitute "s|/_generated/|/kalite/_generated/|i"
	Substitute "s|/securesync/|/kalite/securesync/|i"
	Substitute "s|/api/|/kalite/api/|i"
	Substitute "s|/content/|/kalite/content/|i"

</VirtualHost>
