http://localhost/ page error,
Posted by: gerald (---.gw.smartbro.net)
Date: December 18, 2009 08:40AM

im watching a video tutorial bout php...
when testing if my web server is running succesfully
it told me to open a web broser then type [localhost]
it reply page error!!!
pls help me

Options: ReplyQuote
Re: http://localhost/ page error,
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: December 18, 2009 09:04AM

what colour is your wamp icon?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: http://localhost/ page error,
Posted by: gerald (---.gw.smartbro.net)
Date: December 18, 2009 09:05AM

white, beeb trying all day, can't find the problem

Options: ReplyQuote
Re: http://localhost/ page error,
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: December 18, 2009 09:07AM

try http:/ /127.0.0.1

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: http://localhost/ page error,
Posted by: gerald (---.gw.smartbro.net)
Date: December 18, 2009 09:09AM

problem solve
thx a lot!

Options: ReplyQuote
Re: http://localhost/ page error,
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: December 18, 2009 09:18AM

open c:/windows/system32/drivers/etc

drag the hosts file to your desktop

open with notepad



make sure the line is in it

127.0.0.1 localhost



make sure this line IS NOT in it

::localhost


save and move back to the etc folder . restart the browser

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 12/18/2009 09:20AM by stevenmartin99.

Options: ReplyQuote
Re: http://localhost/ page error,
Posted by: gerald (---.gw.smartbro.net)
Date: December 18, 2009 10:18AM

it doesn't work!
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host


::127.0.0.1 localhost

is this correct?

Options: ReplyQuote
Re: http://localhost/ page error,
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: December 18, 2009 10:59AM

nooo


delete the ::


only have



127.0.0.1 localhost

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.