Open yssource opened 8 years ago
since, I use nginx working as reverse proxy, which will rewrite / to /index.php. in my config file.
location @handler {
#rewrite / /index.php?$args;
rewrite ^/(.*)$ /index.php/$1 last; ## very important, append all index.php before $uri
#rewrite / /index.php;
}
And I try to fix my personal problem by adding "/index.php/?|" , and it works for me.
if (req.url ~ "^(/index\.php/?|/index\.php/second2/|/index\.php/fourth/|/index\.php/pt_br/|/index\.php/es_es/|/index\.php/ja_jp/|/index\.php/ru_ru/|/index\.php/fr_fr/|/index\.php/tr_tr/|/index\.php/it_it/|/index\.php/ar_eg/|/index\.php/th_th/|/index\.php/sixth/|/index\.php/de_de/|/index\.php/zh_cn/|/index\.php/third/|/index\.php/en_us/|/index\.php/fifth/|/media/|/skin/|/js/)(?:(?:index|litespeed)\.php/)?") {
So, I'm not sure this is caused by the variable "url_base_regex" setting or not?
Hi, I use the nginx working as reverse proxy to apache httpd. my vanish version is vcl 4.0 and magento 1.9.2.4 with multi-language store I replace my /etc/varnish/default.vcl file with the default.vcl from magento-admin -> system -> cache Management -> "Download the generated VCL file"
Why does this happen? Is there any help for me? Thanks a lot.