Re: rewrite на nginx

Andrey Safronov safronov.andrey на gmail.com
Ср Дек 29 16:03:16 MSK 2010


http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#try_files
<http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#try_files>

2010/12/29 Савельев Александр <sales на edemnv.ru>

>  location / {
>
> root /home/http/domen.ru/www/;
>
> index index.php index.html;
>
> if (!-e $request_filename) {
>
> rewrite ^(/.*)$ /index.php?q=$1 last;
>
> break;
>
> }
>
> }
>
>
>
>
>
> Но в ответ 404 ошибка.
>
> Страница доступна по адресу blabla.domen.ru а данные должны подгружатся сс
> domen.ru/index.php?q=blabla может я что то не так делаю?
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru на nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>
>
----------- следущая часть -----------
Вложение в формате HTML было извлечено&hellip;
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20101229/9e656e2d/attachment.html>


Подробная информация о списке рассылки nginx-ru