Re: URI в 404 скрипт отдать

Igor Sysoev is at rambler-co.ru
Wed Dec 14 17:20:09 MSK 2005


On Wed, 14 Dec 2005, Pavel Sokolov wrote:

>> server {
>>      set $orig_args  $args;
>>
>>      error_page  404 /404.php;
>>
>>      location = /404.php {
>>           proxy_pass     http://127.0.0.1:80/404.php;
>>           proxy_set_header  Host    $host;
>>           proxy_set_header  X-URI   $request_uri?orig_args;
>>      }
>
> 2005/12/14 08:01:58 [emerg] 27107#0: unknown "args" variable

$query_string.

Нда, надо бы сделать $args.


Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list