Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
nginx+;magento无法编辑类别_Nginx_Magento 1.7 - Fatal编程技术网

nginx+;magento无法编辑类别

nginx+;magento无法编辑类别,nginx,magento-1.7,Nginx,Magento 1.7,马根托河。1.7.0.2 问题 我无法编辑/删除在nginx实例上运行的magento中的类别。如果有人遇到过这样的问题,谷歌搜索就会找到不起作用的解决方案 Nginx配置 更改以下配置后 location @handler { rewrite ^(.*) /index.php?$1 last; } 到 包括以下内容 (##将/js/index.php/x.js等路径转发到相关处理程序) 更改以下配置后,问题消失了 location @handler { rewrite ^(.*) /

马根托河。1.7.0.2

问题

我无法编辑/删除在nginx实例上运行的magento中的类别。如果有人遇到过这样的问题,谷歌搜索就会找到不起作用的解决方案

Nginx配置


更改以下配置后

location @handler {
  rewrite ^(.*) /index.php?$1 last;
}

包括以下内容 (##将/js/index.php/x.js等路径转发到相关处理程序)


更改以下配置后,问题消失了

location @handler {
  rewrite ^(.*) /index.php?$1 last;
}

包括以下内容 (##将/js/index.php/x.js等路径转发到相关处理程序)

这个问题消失了

   location @handler { 
      rewrite / /index.php;
   }
   location ~ \.php/ { 
      rewrite ^(.*\.php)/ $1 last;
   }