LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > disable gzip on a single file?

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2010, 07:05 PM
byronio byronio is offline
New Member
 
Join Date: Jun 2010
Posts: 1
Default disable gzip on a single file?

I have found this to work globally:
RewriteRule . - [E=no-gzip:1]

But I have a single file, just one page on my entire site, that must have gzip compression disabled. Let's just say that it's "index.php."

Can anyone please tell me how I'd modify the above line to disable gzip compression on just "index.php," for example.

If so, thanks in advance.
Reply With Quote
  #2  
Old 06-15-2010, 07:49 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Just change it to

RewriteRule index.php - [E=no-gzip:1]

if the rewrite rule is used in .htaccess .
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:22 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.