如何从另一台计算机或设备访问localhost(wamp)

时间:2015-05-19 13:42:06

标签: apache web-services localhost virtualhost wampserver

我需要从另一台PC和一台Android设备访问wamp中的项目。 我尝试在互联网上查找到目前为止没有任何工作

1 个答案:

答案 0 :(得分:1)

更新<Document>标记中的httpd.conf或httpd-vhosts.conf文件。 mod_authz_core是在Apache 2.3中引入的,并改变了声明访问控制的方式。

因此,例如,而不是2.2方式配置<Directory> ...

    <Directory "C:/wamp">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

订单允许指令已替换为需要指令:

    <Directory "C:/wamp">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

源头  Error with .htaccess and mod_rewrite

http://www.andrejfarkas.com/2012/06/fun-with-wamp-server-and-apache-2-4-2/          http://httpd.apache.org/docs/2.4/upgrading.html