이제는이 문제로 인해 일주일 동안 저를 미치게되었습니다! 우리가 함께 해결책을 찾을 수 있기를 바랍니다.로컬 네트워크에서 wamp에 액세스 할 때 금지 된 오류
로컬 네트워크에서 액세스 할 수있는 로컬 네트워크에서 실행되는 으로 wamp 서버를 구성하려고합니다. 특히, 로컬 영역 연결을 사용하여 다른 컴퓨터에서/www 폴더에 저장된 프로젝트에 액세스하려고합니다. 윈도우 7을 사용하고 있습니다. 그러나, 나는 실행할 때 "192.168.178.3:8080"나는 다음과 같은 오류 얻을 다른 컴퓨터에서 :
Forbidden: You don't have permissions to access/on this server.
내가 포트에서 WAMP 실행하고를 8080 (포트 80가 IIS에 의해 사용된다);
Listen 192.168.178.3:8080
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
<Directory "c:/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
# Online --> Require all granted
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
Require local
</Directory>
<Directory "c:/wamp/www/project">
allow from all
</Directory>
<Directory "cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
: 내 로컬 IP 주소는 httpd.conf 파일에 다음과 192.168.178.3
내가 지금까지했던 일을 설명하려고합니다 ...
변경
내가 다시 시작했습니다<VirtualHost 192.168.178:8080>
DocumentRoot "C:/wamp/www/project"
</VirtualHost>
그리고 모든 것이 :
또한, 나는 HTTP-vhosts.conf에서 다음 줄을 삽입 서버를 넣고 을 온라인 상태로 만들지 만 여전히 동일한 오류가 발생합니다.
도움이나 의견을 보내 주시면 감사하겠습니다.
미리 감사드립니다.