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?