This link has been bookmarked by 17 people . It was first bookmarked on 18 Jan 2007, by beTech.
-
05 May 09
-
02 May 08
-
RewriteEngine on
RewriteOptions Inherit
#Check to see if browser can accept gzip files.
ReWriteCond %{HTTP:accept-encoding} (gzip.*)
#make sure there's no trailing .gz on the url
ReWriteCond %{REQUEST_FILENAME} !^.+\.gz$
#check to see if a .gz version of the file exists.
RewriteCond %{REQUEST_FILENAME}.gz -f
#All conditions met so add .gz to URL filename (invisibly)
RewriteRule ^(.+) $1.gz [L]
-
-
21 Jan 08
-
16 Jan 08
-
14 Oct 07
-
17 Mar 07
-
18 Jan 07
-
11 Jan 07
-
10 Jan 07
-
08 Jan 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.