Location problems

Igor Clark igor at pokelondon.com
Mon Mar 3 20:44:02 MSK 2008


On 3 Mar 2008, at 16:55, Igor Sysoev wrote:

>> 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.


Ah, yes, of course!

However I seem to still get the 404s (e.g. request for "/transcripts/ 
view/theme/parttime-work/" gives 404 "/transcripts/view/theme/parttime- 
work/index.html is not found") recorded in error_log, even when  
"log_not_found off" is in main "server" context or in any "location"  
context.

Igor

--
Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749  
5355 // www.pokelondon.com









More information about the nginx mailing list