View Single Post
  #1  
Old 01-23-2012, 02:49 AM
JasonWSInc JasonWSInc is offline
Member
 
Join Date: Jan 2012
Posts: 10
Default Rewrite [B] Flag?

Hi there. Does LiteSpeed not support the [B] flag for mod_rewrite?

See Apache documentation here please:
http://httpd.apache.org/docs/current...gs.html#flag_b

It would appear that LiteSpeed does not yet support this, because I get errors in my log when I attempt to use it. Is there a workaround?

Code:
RewriteCond %{HTTP_HOST} example\.com$ [NC]
RewriteCond %{QUERY_STRING} (.*) [NC]
RewriteRule (.*) http://example.com/?array[u]=$1&array[q]=%1 [NC,B,R=301,L]
Reply With Quote