Welcome! Log In Create A New Profile

Advanced

Re: Помогите с rewrite

April 29, 2010 09:46AM
получилось что-то такое..
location / {
index index.php;
try_files $uri $uri/ @opencart;
}



location @opencart {
fastcgi_pass unix:/tmp/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME /home/wwwuser/www.80-shop.com/index.php;
fastcgi_param SCRIPT_NAME /index.php;
fastcgi_param QUERY_STRING route=$uri&$args;
include fastcgi_params;

Но что-то тут не так...
Меня смущает ^(.*)\?*$ ...
Subject Author Posted

Помогите с rewrite

excentro April 29, 2010 05:53AM

Re: Помогите с rewrite

Slava Kokorin April 29, 2010 06:38AM

Re: Помогите с rewrite

excentro April 29, 2010 09:38AM

Re: Помогите с rewrite

excentro April 29, 2010 09:46AM

Re: Помогите с rewrite

Slava Kokorin April 29, 2010 10:18AM

Re: Помогите с rewrite

excentro April 29, 2010 10:25AM

Re: Помогите с rewrite

Slava Kokorin April 29, 2010 10:34AM

Re: Помогите с rewrite

excentro April 29, 2010 10:51AM

Re: Помогите с rewrite

Alexander Petrovsky August 31, 2011 07:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready