Location problems

Igor Sysoev is at rambler-co.ru
Mon Mar 3 19:55:51 MSK 2008


On Mon, Mar 03, 2008 at 04:52:50PM +0000, Igor Clark wrote:

> Thanks Igor,
> 
> On 3 Mar 2008, at 14:15, Igor Sysoev wrote:
> 
> >>-  Using "error_page 404 @fallback" instead of "if (! -f " seems to
> >>generate 404 errors in the log for every hit transferred to the
> >>@fallback. Is that inevitable?
> >
> >      log_not_found  off;
> 
> If no 404s are recorded at all there's no way to tell if (for example)  
> someone has a remote broken link, someone is trying particular URLs  
> for vulnerabilities, etc. Is it possible to log only 404s which get  
> 404 codes back from the PHP app via @fallback ?

In access_log only.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list