• Resolved leears

    (@leears)


    I can purge links with the “Purge URLs” page without any problem.

    However, the plugin does not appear to be properly purging anything automatically.

    When I enable debug mode, all I see is this entry, repeated hundreds and hundreds of times:

    ban req.http.host == "" && req.url ~ "^$"
    {"code":"106","msg":"Wrong number of arguments\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "" && req.url ~ "^$"
    {"code":"106","msg":"Wrong number of arguments\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "" && req.url ~ "^$"
    {"code":"106","msg":"Wrong number of arguments\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "" && req.url ~ "^$"
    {"code":"106","msg":"Wrong number of arguments\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "" && req.url ~ "^$"
    {"code":"106","msg":"Wrong number of arguments\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "" && req.url ~ "^$"
    {"code":"106","msg":"Wrong number of arguments\n"}
    ban req.http.host == "mysite.com" && req.url ~ "^/$"
    {"code":"200","msg":"\n"}
    ban req.http.host == "" && req.url ~ "^$"
    {"code":"106","msg":"Wrong number of arguments\n"}
    

    …over and over and over again. It’s like the plugin is failing to extract the proper URL for the content to be purged, and uses “^/$” instead.

    I have no idea how to fix this. Any advice?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Wrong number of arguments’ is closed to new replies.