rewrite rule from apache does not work

Discussion in 'Install/Configuration' started by zoozle, Feb 27, 2007.

  1. zoozle

    zoozle New Member

  2. mistwang

    mistwang LiteSpeed Staff

    You need to turn on rewrite log and analyze your rewrite rule.

    You should not include the domain name in the target URL, if an external redirect is not exactly what you want.

    If you rewrite rule is configured at vhost level, not at context level or inside a .htaccess file, you need to use something like

    RewriteCond %{QUERY_STRING} ^ref=reffer$
    RewriteRule ^/$ [URL=""]/?[/URL] [NC,L]

Share This Page