Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: URI в 404 скрипт отдать
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
|