Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frienly URLs and images #16

Open
Every0ne opened this issue Nov 7, 2018 · 0 comments
Open

Frienly URLs and images #16

Every0ne opened this issue Nov 7, 2018 · 0 comments

Comments

@Every0ne
Copy link

Every0ne commented Nov 7, 2018

When friendly URLs are turned on, all product images requests are returned with 404.
Location / is not chosen, instead
Location ~* \.(css|js|docx|zip|pptx|swf|txt|jpg|jpeg|png|gif|swf|webp|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac)$ kicks in, after which the request gets finalized.

*2 http request line: "GET /42-large_default/bark-natural.jpg HTTP/1.1"
*2 http uri: "/42-large_default/bark-natural.jpg"
*2 http exten: "jpg"

*2 test location: "/"
*2 test location: "robots.txt"
*2 test location: "img"
*2 test location: ~ "/(international|_profiler|module|product|feature|attribute|supplier|combination|specific-price|configure)/(.*)$"
*2 test location: ~ "\.(eot|otf|ttf|woff|woff2)$"
*2 test location: ~ "\.(css|js|docx|zip|pptx|swf|txt|jpg|jpeg|png|gif|swf|webp|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac)$"
*2 using configuration "\.(css|js|docx|zip|pptx|swf|txt|jpg|jpeg|png|gif|swf|webp|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac)$"

*2 http filename: "/srv/http/w3.prestashop/42-large_default/bark-natural.jpg.gz"
*2 http filename: "/srv/http/w3.prestashop/42-large_default/bark-natural.jpg"

*2 http finalize request: 404, "/42-large_default/bark-natural.jpg?" a:1, c:1
*2 http special response: 404, "/42-large_default/bark-natural.jpg?"
*2 internal redirect: "/index.php?controller=404"
*2 rewrite phase: 1
*2 http script value: "/admin-panel"
*2 http script set $admin_dir
*2 test location: "/"
*2 test location: "robots.txt"
*2 test location: "img"
*2 test location: ~ "/(international|_profiler|module|product|feature|attribute|supplier|combination|specific-price|configure)/(.*)$"
*2 test location: ~ "\.(eot|otf|ttf|woff|woff2)$"
*2 test location: ~ "\.(css|js|docx|zip|pptx|swf|txt|jpg|jpeg|png|gif|swf|webp|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac)$"
*2 test location: ~ "/\."
*2 test location: ~ "[^/]\.php(/|$)"
*2 using configuration "[^/]\.php(/|$)"

*2 trying to use file: "/index.php" "/srv/http/w3.prestashop/index.php"
*2 try file uri: "/index.php"

*2 http finalize request: -4, "/index.php?controller=404" a:1, c:3
@Every0ne Every0ne changed the title When frienly URLs and images Frienly URLs and images Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant