Welcome! Log In Create A New Profile

Advanced

Re: 404 и слэш

September 23, 2010 11:16AM
[quote]
access_log /var/log/nginx/def.access.log main;
[/quote]
в лог попадает что-то типа:
[code]
xxx.xxx.xxx.xxx - - [23/Sep/2010:11:10:39 -0400] "-" 400 0 "-" "-" "-"
xxx.xxx.xxx.xxx - - [23/Sep/2010:11:10:39 -0400] "-" 400 0 "-" "-" "-"
xxx.xxx.xxx.xxx - - [23/Sep/2010:11:10:56 -0400] "-" 400 0 "-" "-" "-"
xxx.xxx.xxx.xxx - - [23/Sep/2010:11:10:56 -0400] "-" 400 0 "-" "-" "-"
[/code]
как сделать чтобы в лог попадало имя сайта к которому было обращение?
Subject Author Posted

404 и слэш

Dmitry Veselov September 23, 2010 05:13AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 05:34AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 05:36AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 05:39AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:01AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 06:16AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:18AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:24AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:31AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:36AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:40AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:50AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 07:03AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 06:30AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:36AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:42AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 07:28AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 11:16AM

Re: 404 и слэш

Дмитрий Андреев September 23, 2010 11:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready