<IfModule mod_env.c>
setENV KChat PATH_INFO
</IfModule>
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
setENV KChat MOD_REWRITE
</IfModule>
RewriteEngine On
Options -Indexes
#RewriteBase /kchat/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_URI} !\.(js|css|jpeg|gif|png|bmp|ico)$ [NC]
RewriteRule ^(.*)$ index.php?kroute=$1 [QSA,L]
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
|