
	#	Set some php values if we can
	php_value magic_quotes_gpc 0
	php_value magic_quotes_runtime 0
	php_value magic_quotes_sybase 0
		
	php_flag mbstring.func_overload off
	php_flag register_globals off

	
	# send script.js.gz instead of script.js when possible
	<IfModule mod_rewrite.c>
		<IfModule mod_setenvif.c>
			RewriteEngine On
			
			SetEnvIf Accept-Encoding "gzip" WB_GZ_JS=yes
			
			#some browsers dont handle gz files correctly
			#see mod_deflate for more info
			BrowserMatch ^Mozilla/4		WB_GZ_JS=no
			BrowserMatch \bMSI[E]		WB_GZ_JS=yes
			
			RewriteCond %{REQUEST_URI}	\.js$ [NC]
			RewriteCond %{ENV:WB_GZ_JS}	yes
			RewriteCond %{REQUEST_FILENAME}.gz	-f
			RewriteRule ^(.*)$ $1.gz [T=application/x-gzip]	#force gzip mime type
			
			#for proxies
			<IfModule mod_header.c>
				Header append Vary User-Agent
				Header append Vary Accept-Encoding
			</IfModule>
		
		</IfModule>
	</IfModule>
	
#ForceType text/javascript
#Header set Content-Encoding: gzip