#AddType application/x-httpd-php5 php

#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript

### turn on the Expires engine
#ExpiresActive On
### expires after a month in the client's cache
#ExpiresByType application/javascript A2592000
#ExpiresByType application/x-javascript A2592000
#ExpiresByType text/javascript A2592000
#ExpiresByType text/html A2592000
#ExpiresByType text/xml A2592000
#ExpiresByType text/css A2592000
#ExpiresByType text/plain A2592000
#ExpiresByType image/gif A2592000
#ExpiresByType image/jpg A2592000
#ExpiresByType image/jpeg A2592000
#ExpiresByType image/png A2592000
#ExpiresByType image/bmp A2592000
#ExpiresByType application/x-shockwave-flash A2592000
#ExpiresByType image/ico A2592000
#AddType image/x-icon .ico
#ExpiresByType image/x-icon A2592000
 
##
## Please note that the "A" before the numbers above stands for Access.
## This means that the stopwatch starts when a client accesses the file.
## You can also use "M" for modified.
 

AddDefaultCharset utf-8
php_flag register_globals 0
php_flag magic_quotes_gpc 0
Options +FollowSymLinks 
RewriteEngine On 
RewriteBase / 
RewriteRule ^robots.txt - [L]
RewriteRule ^index.php - [L]
RewriteRule ^favicon.ico - [L]
RewriteRule ^data/external - [L]
RewriteRule ^skins/default/tiny_mce - [L]
RewriteRule ^skins.*\.(js|css|jpg|gif|png|swf|html|htc|ico|xml|ttf) - [L,NC]
RewriteRule ^storage.+\.(gif|jpg|jpeg|png|htm|html|js|css|exe|zip|rar|pdf|doc|xls|ppt|swf|ipx|txt|xslt|xsl|tif|eps|tiff|ico|ent|chm|cfm|gz)$ - [L,NC]
RewriteRule ^.*$	index.php [L,NC]