Page 1 of 1

Most wierd problem EVER! Can u solve it?!

PostPosted: 09. August 2009 16:43
by nevalopo
Ok i got this HUUUUUUUUGE problem... I install xampp and everything like normal.. I have had xampp many many times before so i know how to install it successfully. So here is my problem... When i go into http://localhost it pops up a white page and all it does is say Works. in the upper left corner. At first i thought hmm... something wierd with xampp so i uninstalled it... here is the VERY wierd part.. I go into http://localhost agian and it still says the same!!! I have uninstalled xampp and shut down every single process that has to do anything with apache or xampp! And it still says Works.!!! It's very very wierd.. I don't understand it at all.. Anyone know why all it says is Works.? Oh btw... If i launch XAMPP i can get get to the xampp start pages by going with my other global ip adress http://83.83.83.83~ but when i go with http://localhost all it says is works.

Thanks for anwsers if you can help i will be very glad.. Thanks

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 09. August 2009 18:10
by Wiedmann
Anyone know why all it says is Works.?

If your browser can connect to something at port 80, there must be a server running (or your browser is using a proxy).

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 10. August 2009 11:53
by nevalopo
Yeah well.. The very wierd part is that i am not running ANY program that shows up on the taskmgr.. I shut down EVERY single process except the crictial ones.. Still it shows me this... Altho i did try to go http://localhost on IE and it said page cannot be displayed.. But when i do it on firefox it says Works. as allways.... Any idea how i can "trace" where this comes from?

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 10. August 2009 12:54
by Wiedmann
Any idea how i can "trace" where this comes from?

Just look which program is listening on port 80.

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 16. August 2009 06:37
by buggee33
Did you uncomment curl in your php settings?

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 20. August 2009 12:57
by nevalopo
Sorry for not replying for long. I was away at vocation. I am back and i still have this problem... I tried look what it says on port 80 and it says its Open (if i use xampp port checker). But this has nothing to do with xampp... It says "Works." even without xampp installed..

I don't know how to disable this shit.. I really need help :/

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 20. August 2009 15:16
by Altrea
How to look which port is used by which process:
- Open your command-line
- type: netstat -aon
- search port 80 in the list and keep the PID in mind
- open your task manager
- tab processes
- activate the PID column (view->show columns or something like that)
- compare the PIDs

btw: apache shouldn't start if the port is used by another webserver O.o

[edit]
Other solution:

Do you have changed the DirectoryIndex in httpd.conf, so that html files will served before php files?

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 21. August 2009 20:34
by nevalopo
Ok.... I found 2 diffrent things using port 80 :/

First one was skype... I uninstalled it and rebooted computer and it still only says "Works."

Second one was Avast Antivirus web server... So i uninstalled my virus program and it STILL says "works"

I didn't get what you meant with the second solution... Can you please explain how i check this?

--Edit-- I just found another one with netstat -aon

Firefox..... What the hell!? It says PID 2080 and i go in task manager and search for PID 2080 and it says Firefox.exe

Very wierd... Does firefox have some built-in webserver or something? :/ Should i uninstall Firefox? lol :/

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 21. August 2009 20:51
by nevalopo
Ok... This is getting more and more wierd...
I just closed down FireFox and i tried netstat -aon agian...

Now i find port 80 and PID 0

I looked up what pid 0 is and it says System Idle Process....

Do i have some kind of virus or something? :S

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 21. August 2009 21:24
by Altrea
Okay, sorry. My fault.
I should have give you some more information about that.

if you type in netstat -aon just look in the second column where the local adresses are for port 80 used. Port 80 in the remote column should be okay especially for Browsers and Anti Virus Programs. So please please, reinstall these again :D (after reinstalling your antivirus you can scan for viruses, just to be safe :wink: )

Your Problem is still there.
- Please check your HOSTS-File in C:/Windows/system32/drivers/etc where localhost is assigned to.
- Type in your adress-line http://localhost/index.html (is this the file you see before?)
- try http://localhost/index.php

Re: Most wierd problem EVER! Can u solve it?!

PostPosted: 22. August 2009 18:43
by nevalopo
Altrea wrote:Okay, sorry. My fault.
I should have give you some more information about that.

if you type in netstat -aon just look in the second column where the local adresses are for port 80 used. Port 80 in the remote column should be okay especially for Browsers and Anti Virus Programs. So please please, reinstall these again :D (after reinstalling your antivirus you can scan for viruses, just to be safe :wink: )

Your Problem is still there.
- Please check your HOSTS-File in C:/Windows/system32/drivers/etc where localhost is assigned to.
- Type in your adress-line http://localhost/index.html (is this the file you see before?)
- try http://localhost/index.php


Allright...

I checked http://localhost/index.html and the Works. doesn't come up.. But when i go in http://localhost/index.php i see the "Works." Agian...

I didn't really get what u said about HOSTS-File... I am looking in C:\WINDOWS\system32\drivers

But i don't find no file called Hosts or anything similar to that.. I am using Windows XP 64 Bits

Problem is still there...



Edit: I went into C:\WINDOWS\system32\drivers\etc and i found some Hosts files there..

hosts.20090715-204757.backup

hosts.msn

lmhosts.sam

and hosts (with no file extension)

Wich of theese files am i using? o.O