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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [SOLVED] What is wrong with this .htaccess?

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2008, 04:00 PM
MindTooth MindTooth is offline
Member
 
Join Date: Apr 2008
Posts: 41
Default [SOLVED] What is wrong with this .htaccess?

Can you please check this?
Code:
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
</IfModule>

# END WPSuperCache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
Birger

Last edited by MindTooth; 04-27-2008 at 04:03 PM.. Reason: Solved.
Reply With Quote
  #2  
Old 04-27-2008, 04:34 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
What did you do to fix it?
Reply With Quote
  #3  
Old 04-29-2008, 07:21 AM
MindTooth MindTooth is offline
Member
 
Join Date: Apr 2008
Posts: 41
I use a plugin called WP Super Cache for WordPress. If I enabled super compression, the index will consist of many strange symbols. And I found that as the problem, not the .htaccess configuration.

Birger
Reply With Quote
  #4  
Old 01-25-2010, 11:32 PM
rok rok is offline
New Member
 
Join Date: Jan 2010
Posts: 5
Quote:
Originally Posted by MindTooth View Post
I use a plugin called WP Super Cache for WordPress. If I enabled super compression, the index will consist of many strange symbols. And I found that as the problem, not the .htaccess configuration.

Birger
My drupal Boost module have same pbl...How to solve this?When enable gzip,my inde website will have strange symbols
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 06:51 AM.



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