• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

Strange loglines in apache log

Hi, i see strange loglines in apache error log like:

[Fri Sep 21 10:00:30 2012] [client 31.x.x.x] File does not exist: /home/xxx/public_html/NULL, referer: http://www.xxx.xxx/xxx.html

The pages are present and seem alright, it happens with legitimate customers, and also just visitors

What makes it direct to /NULL?
0
PeterdeB
Asked:
PeterdeB
  • 4
  • 2
  • 2
  • +1
3 Solutions
 
g3nu1n3Commented:
If could be possible that someone has an old link to something you no longer host, or possibly someone just trying to see what you have on your site with maybe like a crawler or scraper. You should further investigate the frequency at which you are getting the requests and IPs they are coming from if not all from the same IP address. If you notice anything suspension in these regards, you can setup a block either using your control panel, firewall, or .htaccess file.

If you are savvy enough, or have assistance, you can create a script to specifically log requests to the URL returning these errors or the referrers/IPs that are causing the server to generate them.
0
 
arnoldCommented:
Your server's log settings are limiting to a point that it is not clear what the request was that it received.
Resetting the log to reflect more detail on the request.
0
 
TintinCommented:
Are there any redirects set on the referring page?
0
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

 
PeterdeBAuthor Commented:
Hi, thanks all, I think I have found the error, but I am already satisfied somewhat if I can assure that it is not some kind of virus or succesful hacking attempt. Could the info down under, result in the NULL loglines?

URL   `http://www.cameratotaal.com/tell_a_friend.php' 
Parent URL  {http://www.cameratotaal.com/yongnuo-wireless-remote-control-d300d3-p-1540.html}, line 464, col 40 ({HTML}) ({CSS}) 
Base  http://www.cameratotaal.com/ 
Real URL  {http://www.cameratotaal.com/-p-.html?osCsid=32f08a3a32814bd3726e82896e3730a3} 
Size  25.66KB 
Check time  1.930 seconds 
Info  Redirected to `http://www.cameratotaal.com/-p-.html?osCsid=32f08a3a32814bd3726e82896e3730a3'.
Server `Apache/2' did not support HEAD request; a GET request was used instead. 
Warning  HTTP 301 (moved permanent) encountered: you should update this link. 
Result  Error: recursive redirection encountered: http://www.cameratotaal.com/tell_a_friend.php => http://www.cameratotaal.com/-p-.html?osCsid=32f08a3a32814bd3726e82896e3730a3 => http://www.cameratotaal.com/-p-.html?osCsid=32f08a3a32814bd3726e82896e3730a3 

Open in new window

0
 
g3nu1n3Commented:
Are you sure the .html files referenced here belong to you? tell_a_friend.php has been heavily exploited.
0
 
PeterdeBAuthor Commented:
hey yes they belong to me, how can they exploit it?
0
 
arnoldCommented:
Tell a friend is presumably an email/sms gateway.
It can be used to spam.
HTML are usually static it tems of processing, some requests have ?query_string_data this suggests either a search engine messed up by not stripping their identifier when redirecting or your setup is such that the site config is to pass all requests to an internal script.
0
 
TintinCommented:
According to http://redirectdetective.com/ you have a redirect loop.
0
 
PeterdeBAuthor Commented:
Everyone thanks for helping me out
0
 
PeterdeBAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now