Unknown rewrite rule flag while parsing: RewriteRule ipv6

MattW

Well-Known Member
#1
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:

mistwang

LiteSpeed Staff
#2
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
 

MattW

Well-Known Member
#3
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.
 

mistwang

LiteSpeed Staff
#4
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

Well-Known Member
#5
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.
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.
 
Top