Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am getting this error:

File does not exist: /var/www/user/home/user/public_html/cgi-sys

I have only .html files in the document root. Can anyone tell why I am getting this error?

share|improve this question
1  
What are you doing when you get this error? Is it in your logs? We need more information so we can help you. –  paulmorriss Jun 28 '12 at 13:32
    
yes got this one line from the logs. –  pankaj sharma Jun 29 '12 at 7:29
    
i have created a website all the paths and documentroot are correct .document root is /var/www/user/home/user/public_html and have.html file –  pankaj sharma Jun 29 '12 at 7:31
    
Whatever you add to your domain as URI that does not exist will appear in your logs, this is no problem and happens a lot (bots, spiders, crawlers, hackers), just give it a try and add your name like www.yoursite.com/pankajsharma. You'll get a "File does not exist" message. –  initall Sep 28 '12 at 9:42
add comment

2 Answers

I would search your source code for cgi-sys maybe something is linking to that folder? Otherwise contact your hosting provider and ask them why that log entry is appearing. You can also try to access the cgi-sys folder from your browser and see if it generates that error. Maybe it's a bot scanning your site.

share|improve this answer
add comment

It's a script kiddie looking for exploits. You can get some fun at him

Redirect rules for .htaccess

redirect /cgi-sys http://get.a.life
redirect /cgi-bin http://get.a.life
redirect /scripts http://get.a.life
redirect /MSADC http://get.a.life
redirect /c http://get.a.life
redirect /d http://get.a.life
redirect /_mem_bin http://get.a.life
redirect /msadc http://get.a.life
redirect /MSOffice http://get.a.life
redirect /_vti_bin http://get.a.life
redirectMatch (.*)\cmd.exe$ http://get.a.life$1
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.