Skip to content

issue with sub_recv: lookup never called #1094

@frangolacci

Description

@frangolacci

Hi,
i have a probleme with my default.vcl file generated by the extension (i made no change),
in the sub_recv subroutine, the lookup call is never made, indeed, the url never get to validate the test:

* # check if the request is for part of magento
if (req.url ~ "^(/index.php/|/media/|/skin/|/js/)(?:(?:index|litespeed).php/)?")
*

So all the url get pass instead of lookup.

EDIT: i found the answer, it's because mod_rewrite is enable and remove index.php from all the url, but how can i make it works so because the url is rewrite to index.php by htaccess by apache so after varnish handle the url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    old-invalidIssues created before 2018-01-01. Will close en mass on Feb 15.question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions