LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   [SOLVED] What is wrong with this .htaccess? (http://www.litespeedtech.com/support/forum/showthread.php?t=2010)

MindTooth 04-27-2008 04:00 PM

[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 :)

anewday 04-27-2008 04:34 PM

What did you do to fix it?

MindTooth 04-29-2008 07:21 AM

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 :)

rok 01-25-2010 11:32 PM

Quote:

Originally Posted by MindTooth (Post 10297)
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


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