GithubHelp home page GithubHelp logo

prestashop-nginx's People

Contributors

asfihani avatar mattloyed avatar nrncc avatar null-none avatar simondahla avatar spaetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prestashop-nginx's Issues

API

Hello,
for access to Prestashop Webservice
Add line :
rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last;

and other problem, not index:
index index.php index.html;

friendly urls

Hello.
Friendly urls doesn't work correctly.

  1. When I turn to a detailed review of the goods - access denied.
    can be corrected:
    try_files $uri $uri/ /index.php$uri&$args /index.php?q=$uri&$args;
    or
    try_files $uri $uri/ /index.php?q=$uri&$args;
    instead of
    try_files $uri $uri/ /index.php$uri&$args;
  2. When I press button "Add to cart", The cart disappears.
  3. When I press button "Order with an obligation ..." I get the page of the back office instead of
    inforamation about my order.

Frienly URLs and images

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

Prestashop language switching broken

Hi,
First I want to thank you for providing prestashop nginx configuration.
My problem is prestashop automatic language switching is broken with this config. For example if I go to myshop.com it doesn't automatically detect my browser language and apply the rtl styles. Moreover if I manually go to myshop.com/en or any other language codes it displays "Access Denied".
Please help me to resolve it.

Thank you in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.