Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-07-2009, 02:44 PM   PM User | #1
ScottInTexas
Regular Coder

 
Join Date: Nov 2002
Posts: 567
Thanks: 2
Thanked 4 Times in 4 Posts
ScottInTexas is on a distinguished road
Where did this request come from?

I am searching for the reason I cannot start MySQL server and for S&G I decided to look at my Apache error log. I saw this error as the last entry in the log
Code:
[Tue Oct 06 16:52:57 2009] [error] [client 127.0.0.1] File does not exist: C:/Apache Software Foundation/Apache2.2/htdocs/songtouch
Note that it was written yesterday afternoon. I wasn't doing anything yesterday at that time except listening to a streaming radio program. Where did this come from? What is the file? If this is something trying to access my computer through my local host are there directives in the httpd file I can use to stop this?
__________________
Scott Stewart
Always happy to learn from pros.
ScottInTexas is offline   Reply With Quote
Old 10-07-2009, 03:29 PM   PM User | #2
hinch
Regular Coder

 
hinch's Avatar
 
Join Date: Sep 2005
Location: UK
Posts: 921
Thanks: 25
Thanked 79 Times in 79 Posts
hinch is on a distinguished road
if your on windows and mysql won't start I suggest shutting down skype

as for the other thing got no clue about it sorry
__________________
A programmer is just a tool which converts caffeine into code

My work: http://www.fcsoftware.co.uk && http://www.firstcontactcrm.com
My hobby: http://www.angel-computers.co.uk
My life: http://www.furious-angels.com
hinch is offline   Reply With Quote
Old 10-07-2009, 04:01 PM   PM User | #3
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
That indicates that its coming from you're system and it can't find the file specified.
Does you're hosts file happen to be modified? For example, I have a list of every known adserver in my hosts file. What I'm thinking here is that you're streaming radio is attaching to an adserver, and its being rebounded back to you're server.
Hold on, I'll dig up one of mine (I noticed these after awhile, so I added a dontlog feature, but I think I still get a few....)
Here we go, had to go back a year :P
Code:
[Sat Jun 21 19:20:37 2008] [error] [client 127.0.0.1] File does not exist: D:/Personal/adlog, referer: http://www.gamefaqs.com/console/psx/game/196817.html
D:\Personal was my current directory in use for my webroot. So the file it wanted was adlog and was rebounded off of the ad service from gamefaqs. What you're missing is the referral information, and that is simply a setting in you're conf file.

So needless to say, I wouldn't be too concerned that this point. Also review you're access logs, they should indicate better information.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Old 10-07-2009, 05:23 PM   PM User | #4
ScottInTexas
Regular Coder

 
Join Date: Nov 2002
Posts: 567
Thanks: 2
Thanked 4 Times in 4 Posts
ScottInTexas is on a distinguished road
Thank you both for your responses. I don't have Skype installed. I did recently change my hosts file but I can't see a connection between the contents (2 lines) of the host file and the songtouch file. One of these days I want to write somethig that will collect every request on my system and backtrack it to the requester. I hate these little intrusions into what I wish was a secure system.
__________________
Scott Stewart
Always happy to learn from pros.
ScottInTexas is offline   Reply With Quote
Old 10-08-2009, 07:33 AM   PM User | #5
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
The connection between the hosts file and this type of behaviour is the routing. For example, if the songtouch is a request sent from the site handling the streaming radio to another site that is redirected to you're localhost, than the request will never get outside of you're localhost (priority will be given to the hosts file over DNS).
If you're hosts file is being used to rebound advertising, this could be the case with this.
Generally, the hosts file has only one entry in it by default in windows:
Code:
127.0.0.1       localhost
But if you add more, 127.0.0.1 codingforums.com, any request to coding forums would result in you're apache host trying to serve out the site.

As for capturing activity, pretty much any firewall will have a logging feature in it that will let you see requests and responses.

Edit:
Lol, almost missed the point >.<
What is the second line in you're hosts file?
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:42 PM.


Advertisement
Log in to turn off these ads.