Re: httpd log errors

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: kitepilot@kitepilot.com
Date:  
To: Main PLUG discussion list
Subject: Re: httpd log errors
Oops, Paul I answered you too fast and without thinking (imagine that), so I
answered what 'I thought' you were saying instead of what you 'were saying'!

> Just because I like to be nitpick, why over-complicate? 
>     grep -r "img" /home/some_v_host/public_html 

You are right, in this particular case it can (probably) be done as you say,
but in my experience, I have run into problems that I can't remember now
because I ditched the syntax in favor of 'find' to avoid them long time ago,
and because 'find' is more powerful and allows me more tricks (with other
pitfalls of its on) than grep alone.

I do however recognize that sometimes I am somehow guilty of
'over-complicating' things... ;-)
ET

PS: It's *DIVERSITY* what makes this list *FUN*!!!


writes:

> 'over-complicate' is relative...
> I rather use those than *ANY* 'Visual Studio' crap!    ;-)
> ET  

>
>
>
>
> Paul Mooring writes:
>
>> Just because I like to be nitpick, why over-complicate?
>>
>>     grep -r "img" /home/some_v_host/public_html  

>>
>> Paul Mooring
>> Operations Engineer
>> www.opscode.com
>>
>> ________________________________________
>> From:
>> <> on behalf of
>> <>
>> Sent: Tuesday, July 16, 2013 7:52 PM
>> To: keith smith; Main PLUG discussion list
>> Subject: Re: httpd log errors
>>
>> find /home/some_v_host/public_html/ -type f -exec grep -H 'img' "{}" \;
>>
>> :)
>>
>> The best IDE is:
>> vi, make, ctags, find and grep.
>> ET
>>
>>
>>
>> keith smith writes:
>>
>>>
>>>
>>>
>>> Hi,
>>>
>>> I'm looking through my error logs and I have several lines that look
>>> like this:
>>>
>>> File does not exist: /home/some_v_host/public_html/img, referer:
>>> https://www.domain.tld/some_dir/some_script.php
>>>
>>> Usually there is a file and line number to the error. I've been looking
>>> at my code, however I am not finding the problem.
>>>
>>> Any insight into what this error means is much appreciated.
>>>
>>> Thanks!!
>>>
>>>
>>>
>>> ------------------------
>>> Keith Smith

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss