dougui2254 2014-05-18 09:27
浏览 145

WAMP - Onlineoffline标签(在线放置wamp)

I am having problems editing the #onlineoffline tag in the httpd.conf file from WAMP. The server will not go online (or be accessed by any other computer on the network). Before the new version, the previous .conf file contained a statement like:

Order deny, allow
Allow from all

In this new version, the #onlineoffline tag is:

onlineoffline tag - don't remove
Require local

I have done what was suggested from multiple stackOverflow threads like here, using Require all granted. This only causes the WAMP icon to stay yellow. Any help would be greatly appreciated!

  • 写回答

1条回答 默认 最新

  • dqfsbvd43312 2016-10-13 10:30
    关注

    Edit this section of your httpd.conf file as follows

    #   onlineoffline tag - don't remove
        #Require local
        Require all granted
    

    If you are listening to a port (e.g. 4140), ensure that you edit this section of your httpd.conf as follows

    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #
    #Listen 12.34.56.78:80
    Listen 0.0.0.0:80
    Listen [::0]:80
    Listen 0.0.0.0:4140
    Listen [::0]:4140
    

    Of course you must have added the port as a new inbound rule in your Firewall

    评论

报告相同问题?

悬赏问题

  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用