cant access to local host
Posted by: khojani (125.255.116.---)
Date: January 31, 2008 07:09AM

hi moderator, as per the instruction that u provided on guides i hv follow all the steps, by that way i can access to the file in the domain and sub1 and sub2 folders from other pc but i cant access to the file store in the www folder or the wampserver.. means localhost.... i cant able to access to local host as well from the other pc where wampserver is not installed..
thanks.
wait for your reply.

Options: ReplyQuote
Re: cant access to local host
Posted by: yfastud (Moderator)
Date: January 31, 2008 02:10PM

Quote

i can access to the file in the domain and sub1 and sub2 folders from other pc but i cant access to the file store in the www folder or the wampserver
Can you give example?

Quote

i cant able to access to local host as well from the other pc where wampserver is not installed
Post the content of host file of all computers here, and make sure to point out which file go to which computer

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: cant access to local host
Posted by: rip_pit (---.w90-30.abo.wanadoo.fr)
Date: January 31, 2008 06:14PM

i guess he needs to allow another pc in a lan to acces /localhost/.

for that, edit the httpd.conf from apache directory and add "allow from ip" like this:

inside the the block
<Directory "pathtoyourroot/www/">

you'll find a line
Allow from 127.0.0.1

Just add a new line below with the lan ip to allow, like this :
Allow from 192.168.1.10
this is to allow acces to localhost from another pc which have the ip 192.168.1.10.

finally it'll look as something like this:
<Directory "pathtoyourroot/www/">	
  #...some lines ...
  Allow from 127.0.0.1
  Allow from 192.168.1.10
</Directory>
Then restart apache/wamp

If u need to access phpmyadmin too, in the same way, edit the phpmyadmin.conf you'll find in the /alias/ dir and add the same line with the ip to allow.

---------------------------------------------
XP SP3 - pIV - 3.2Ghz - 1.5Go de ram - Wamp 2.0

Options: ReplyQuote
Re: cant access to local host
Posted by: yfastud (Moderator)
Date: January 31, 2008 07:52PM

Not sure about that since he 's already followed my guides and it should work w/o any problem, so that's why I'd like to check his files to make sure they're all as expected

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.