[ALUG] How can I find what this apache "file does not exist" error is referring to?
cl at isbd.net
Wed Dec 1 18:18:18 GMT 2010
On Wed, Dec 01, 2010 at 06:15:19PM +0000, Chris G wrote:
> I'm getting errors like the following in my apache2 error log:-
> [Wed Dec 01 17:57:58 2010] [error] [client 126.96.36.199] File does not exist: /var/www/dte-test/httpdocs/images, referer: http://dte-test/
> The directory /var/www/dte-test/httpdocs/images doesn't exist but I
> can't work out any way to find out what's referring to it. Any ideas?
Why do I so often find an answer just after asking the question?! :-)
The answer is to create /var/www/dte-test/httpdocs/images, then the
error log reports the file that's missing in that directory and I can
search for that file's name in the code and find the error.
More information about the main