Hey folks,
I followed this tutorial to the letter for our IPB Board.
http://litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:litespeed:cache:ipboard
This is a big board and we thought we had the .htaccess fine tuned for the forums but it appears not. Seemed when we setup the IPB SE Friendly URLs .htaccess rule with the litespeed .htaccess rule and some visitors started reciecing infinite redirect notices using mobiles and google translator. Upon inspection it appears we failed at the rule rewrite mod for IPB and LS Cache.
Please help me with this if you can:
Litespeed rule:
RewriteEngine On
###########################################
# For LiteSpeed public cache (guest user)
###########################################
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{HTTP_COOKIE} !member_id= [OR]
RewriteCond %{HTTP_COOKIE} member_id=0
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{REQUEST_URI} !(css|js|png|gif)$
RewriteCond %{QUERY_STRING} ^$
RewriteRule .* – [E=Cache-Control:max-age=360]
IPB SEO Rule:
Options -MultiViews
RewriteEngine On
RewriteBase /forums/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forums/index.php [L]
I followed this tutorial to the letter for our IPB Board.
http://litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:litespeed:cache:ipboard
This is a big board and we thought we had the .htaccess fine tuned for the forums but it appears not. Seemed when we setup the IPB SE Friendly URLs .htaccess rule with the litespeed .htaccess rule and some visitors started reciecing infinite redirect notices using mobiles and google translator. Upon inspection it appears we failed at the rule rewrite mod for IPB and LS Cache.
Please help me with this if you can:
Litespeed rule:
RewriteEngine On
###########################################
# For LiteSpeed public cache (guest user)
###########################################
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{HTTP_COOKIE} !member_id= [OR]
RewriteCond %{HTTP_COOKIE} member_id=0
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{REQUEST_URI} !(css|js|png|gif)$
RewriteCond %{QUERY_STRING} ^$
RewriteRule .* – [E=Cache-Control:max-age=360]
IPB SEO Rule:
Options -MultiViews
RewriteEngine On
RewriteBase /forums/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forums/index.php [L]