如何从另一台计算机或设备访问本地主机(沼泽) [英] How to access localhost (wamp) from another computer or device

查看:53
本文介绍了如何从另一台计算机或设备访问本地主机(沼泽)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从另一台PC和一个android设备访问wamp中的项目.我试图在互联网上查找它,但到目前为止没有任何效果

I need to acces a project in wamp from, another pc and an android device. I tried looking it up in the internet nothing worked so far

推荐答案

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

Update your httpd.conf or httpd-vhosts.conf file in the <Document> tags. mod_authz_core was introduced in Apache 2.3 and changed the way that access control is declared.

因此,例如,代替配置< Directory> ...

So, for example, instead of the 2.2 way of configuring <Directory>...

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

Order Allow 指令已替换为 Require 指令:

Order and Allow directives have been replaced with the Require directive:

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

来源 .htaccess和mod_rewrite错误

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

这篇关于如何从另一台计算机或设备访问本地主机(沼泽)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆