Page 1 of 1

path for localhost not correct? (Vista) 1.7.7 [SOLVED}

PostPosted: 11. October 2011 19:43
by Valerie73

I installed Xampp and WebMatrix on my computer (with Windows Vista). This products seem to have some conflicts/incompatibilities and therefore I had to install/uninstall them a couple of time.

I finally manage to have xampp running, and sucessfully started Apache (on port 85) and MySql (Svc selected).

Here is my problem:
- When I click on the Admin button next to Apache in the Xampp console, internet explorer opens up to the page http://localhost/ but this shows the start page from ISS7 instead.
- On the same way, when I click on the Admin button next to MySql, http://localhost/phpmyadmin/ opens up, but this displays the error 404 - not found and the following message:
Module: IIS Web Core
Notification: MapRequestHandler
Handler: StaticFile
Error Code: 0x80070002
Requested URL: http://localhost:80/phpmyadmin/
Physical Path: C:\inetpub\wwwroot\phpmyadmin\
Logon Method: Anonymous
Logon User: Anonymous

Thereby the path C:\inetpub\wwwroot\phpmyadmin\ doesn't exist...

Does anyone know how I can solve the problem?
Thanks in advance.

Re: path for localhost not correct??

PostPosted: 11. October 2011 19:59
by Sharley
What version of XAMPP?
please read the following Announcements.

You will need to disable IIS if you want to use XAMPP at the same time as you have a conflict.

Good luck. :)

Re: path for localhost not correct??

PostPosted: 11. October 2011 20:35
by Valerie73
Thanks a lot for your help and for being so quick!

I am running Xampp 1.7.7 under Windows Vista. Xampp was installed in a directory which name has a space. In the posts you've send me, it is said it is not recommended, so I am reinstall xampp.

After reinstallation, I'll try disabling IIS to solve this. I'll let you know.

Re: path for localhost not correct??

PostPosted: 11. October 2011 20:48
by Sharley
Hello Valerie
If you have problems uninstalling and reinstalling then try a different method outlined in this post:

Best wishes. :)

Re: path for localhost not correct??

PostPosted: 11. October 2011 23:02
by Valerie73

Ok, thank you for your help. Unfortunately it doesn't work yet. As you said, I've uninstalled and reinstalled Xampp version 1.7.7 in c:/xampp as described in your post above.
I removed IIS in Control Panels->Program and Features->Features. And then restarted my Computer.

I then started xampp using the file xampp-control.exe, but I can't start Apache.

netstat -ano indicates that the port 80 is already being used.
tasklist says it is used from PID 4.
How can I see what exactly is using that port?

Skype is not installed

In case this is relevant, my host file contains the lines localhost loopback
::1 localhost

What should I do? Should I try to know why port 80 is used? Should I change the port in the configuration file c:/xampp/apache/conf/httpd.conf?

Thanks in advance!

Re: path for localhost not correct??

PostPosted: 11. October 2011 23:18
by JonB
Here's a MS Tool to dig down with :

Process Explorer

You can also search on it in this forum "Process Explorer" - see what others have found

Its most likely a MS Web Remote Management tool

Good Luck

Re: path for localhost not correct??

PostPosted: 11. October 2011 23:29
by Sharley
Valerie, have you tried using the new version 3 control panel instead of the older default version 2.5* as it has more features with a more informative log window:
You can, if you wish, create a shortcut on your desktop for easy access.

First though Stop MySQL and any other components running in the older Control Panel and Exit the older panel before running CP3.

If you then click on the Netstat button it will tell you what is using port 80 and port 443 that Apache needs and the log window is more informative.

You can also use the xampp-shell button to run the inetmgr command below.

In some Windows systems they also use the term World Wide Publishing as well as IIS (Internet Information Service).

Valerie, I should also mention that you should be logged into Vista as an administrator but if not then right click on files and shortcuts and select to Run as administrator, especially those in XAMPP including the control panels.

Sorry I don't use Vista but try this from the xampp-shell # command prompt type inetmgr

The full sequence.
1 - open inetmgr (see above)
2 - expand your computer
3 - expand sites
4 - right-click the default web site
5 - select stop (XP)
6 - manage web site --> select stop (Vista/Win7)

Here is another method:

Finally try a reboot after making all these changes tou have made to your system settings.

Valeries wrote:In case this is relevant, my host file contains the lines localhost loopback
::1 localhost
You can if you wish comment out IPv6 localhost entry and the add a comment to the like so:
Code: Select all localhost # loopback
# ::1 localhost
This may prevent possible issues down the track.

Best wishes Valerie. :)

Re: path for localhost not correct??

PostPosted: 12. October 2011 09:55
by Valerie73
Thanks a lot to both of you.

It was indeed very helpful to use the beta version control panel.

Netstat button didn't give me more information, than the netstat followed by tasklist commands in the prompt window, but it is quicker to get the information.

What should appear when you click the xampp-shell button? I have been asked if I should create it. I couldn''t start inetmgr. How is it to be started? A screenshot might be useful? Therefore I couldn't execute the sequence you suggested at the bottom of your post.

Finally, looking at the list of services, I found a service called "Web Deployment Agent Service". I read somewhere that someone had conflicts because of the component Web Deployment, which is used by WebMatrix. So, I stopped that service. I could then finally start Apache, and clicking on Admin was sucessfull too. MySql is fine too.

I hope this experience of mine will help someone else who might be stuck with the same kind of issues...

I'll know put again my backuped website in the httdocs and hope I can get this all to work fine again now...

Thanks a lot again, and thanks for replying so precisely, that's really great.


Re: path for localhost not correct? (Vista) 1.77 [SOLVED}

PostPosted: 12. October 2011 10:22
by Sharley
Thanks for the feedback. 8)

Good luck. :)