Unknown rewrite rule flag while parsing: RewriteRule ipv6

Discussion in 'Bug Reports' started by MattW, May 9, 2018.

  1. MattW

    MattW Active Member

    I've just set up another server with Linode, and added an ipv6 range.
    When adding the ipv6 addresses to the domains, Litespeed is throwing the following error:
    Code:
    APVH_176.58.122.54:443 [2a01:7e00:0000:0000:0000:0000:003f:4000]:443_unused.we] Unknown rewrite rule flag while parsing: RewriteRule .* /__LSCACHE/STATS?rpt=cache&vhost=APVH_176.58.122.54:443 [2a01:7e00:0000:0000:0000:0000:003f:4000]:443_unused.website.com [E=dontlog:1]
    The listen is posted to the TCP stack, but the websites don't load on ipv6.
     
    Last edited by a moderator: May 10, 2018
  2. mistwang

    mistwang LiteSpeed Staff

    Please try the latest debug build of 5.2.7 see if it fixes the rewrite rule problem.
    /usr/local/local/lsws/admin/misc/lsup.sh -d -f -v 5.2.7
     
  3. MattW

    MattW Active Member

    Thanks, the errors are gone, but it's still not working.
    ping works, and the TCP listen is there, but the web server doesn't respond at all.
     
  4. mistwang

    mistwang LiteSpeed Staff

    it could be a IPv6 routing/firewall problem. try to telnet to the IPv6:port directly from different server/localhost see if you can connect to it.
     
    MattW likes this.
  5. MattW

    MattW Active Member

    Yes, I'm suspecting it's a routing issue with Linode, as the default IPv6 address works, but the new range they have allocated aren't responding.
     

Share This Page