好了,现在,这个问题已经快把我逼疯了一个星期! 我希望我们能够找到一个解决方案一起。
我想我的配置WAMP服务器在本地网络上运行 (从本地网络accessable)。 具体而言,我想访问使用局域网连接从另一台计算机保存在/ WWW文件夹的项目。 我使用Windows 7我的WAMP的服务器。 然而,当我运行“192.168.178.3:8080”从另一台电脑我得到以下错误:
禁止:您没有权限访问/在此服务器上。
我在端口8080上运行WAMP(80端口是由IIS使用);
我的本地IP地址为192.168.178.3
我会尽力解释我至今做过的事......
改变在httpd.conf如下:
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>
另外,我插入HTTP-vhosts.conf下面几行:
<VirtualHost 192.168.178:8080>
DocumentRoot "C:/wamp/www/project"
</VirtualHost>
我已经重新启动一切,让服务器在线 ,但仍然得到同样的错误。
任何帮助或建议,将不胜感激。
先感谢您!