File: .htaccess

Recommend this page to a friend!
  Classes of Ganesh Kandu  >  kchat  >  .htaccess  >  Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: kchat
Database driven PHP live chat system
Author: By
Last change:
Date: 2 years ago
Size: 854 bytes
 

Contents

Class file image Download
<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>

For more information send a message to info at phpclasses dot org.