Connect by LAN IP
Posted by: ursus99 (---.sib.r-style.ru)
Date: September 30, 2009 05:14AM

I work in domain and have IP 192.168.10.54. Windows firewall is disabled. Work only Symantec Ednpoint Protection.

Now i have:
1. in "C:\windows\system32\drivers\etc\hosts"
192.168.10.54 myproject

2. in "C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf"
<VirtualHost *:80>
ServerName myproject
DocumentRoot C:/wamp/www/myproject
ErrorLog C:/wamp/www/myproject/logs/error.log
CustomLog C:/wamp/www/myproject/logs/access.log common
</VirtualHost>

3. in "C:\wamp\www\myproject\my.php"
<html>
<head>
<title>test PHP</title>
</head>
<body>
<?php echo 'Hello, world!'; ?>
</body>
</html>

First open in IE: "[myproject]; everything OK. Open window and i see "Hello, world! ". From another PC in lan, with writing in "C:\windows\system32\drivers\etc\hosts" 192.168.10.54 myproject, link work to.

But if open on local machine in IE: "[192.168.10.54]; i recieve message:"HTTP 403 Forbidden"

Question: How i can connect by IP? That i must to do?

Options: ReplyQuote
Re: Connect by LAN IP
Posted by: ursus99 (---.sib.r-style.ru)
Date: September 30, 2009 06:29AM

Problem was with default port 8080 in browser. Write port 80 in link: "[]; and press F5 in IE help me!

Thanks!

Options: ReplyQuote
Re: Connect by LAN IP
Posted by: yfastud (Moderator)
Date: September 30, 2009 06:12PM

to setup access, follow this
[blog.jlbn.net]

to setup dns, follow this
[blog.jlbn.net]

to setup vh, follow this
[blog.jlbn.net]

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.