如何解决wamp中apache外部IP访问问题

如何解决wamp中apache外部IP访问问题

#

# Some examples:

#ErrorDocument 500 “The server made a boo boo.”

#ErrorDocument 404 /missing.html

#ErrorDocument 404 “/cgi-bin/missing_handler.pl”

#ErrorDocument 402 http://www.example.com/subscription_info.html

#

 

#

# MaxRanges: Maximum number of Ranges in a request before

# returning the entire resource, or one of the special

# values ‘default’, ‘none’ or ‘unlimited’.

# Default setting is to accept 200 Ranges.

#MaxRanges unlimited

 

#

# EnableMMAP and EnableSendfile: On systems that support it, 

# memory-mapping or the sendfile syscall may be used to deliver

# files.  This usually improves server performance, but must

# be turned off when serving from networked-mounted 

# filesystems or if support for these functions is otherwise

# broken on your system.

# Defaults: EnableMMAP On, EnableSendfile Off

#

#EnableMMAP off

EnableSendfile

off

 

# AcceptFilter: On Windows, none uses accept() rather than AcceptEx() and

# will not recycle sockets between connections. This is useful for network

# adapters with broken driver support, as well as some virtual network

# providers such as vpn drivers, or spam, virus or spyware filters.

AcceptFilter

http none

AcceptFilter

https none

 

# Supplemental configuration

#

# The configuration files in the conf/extra/ directory can be 

# included to add extra features or to modify the default configuration of 

# the server, or you may simply copy their contents here and change as 

# necessary.

 

# Server-pool management (MPM specific)

#Include conf/extra/httpd-mpm.conf

 

# Multi-language error messages

#Include conf/extra/httpd-multilang-errordoc.conf

 

# Fancy directory listings

Include

conf/extra/httpd-autoindex.conf

 

# Language settings

#Include conf/extra/httpd-languages.conf

 

# User home directories

#Include conf/extra/httpd-userdir.conf

 

# Real-time info on requests and configuration

#Include conf/extra/httpd-info.conf

 

# Virtual hosts

#Include conf/extra/httpd-vhosts.conf

 

# Local access to the Apache HTTP Server Manual

#Include conf/extra/httpd-manual.conf

 

# Distributed authoring and versioning (WebDAV)

#Include conf/extra/httpd-dav.conf

 

# Various default settings

#Include conf/extra/httpd-default.conf

 

# Configure mod_proxy_html to understand HTML4/XHTML1

proxy_html_module>

Include

conf/extra/proxy-html.conf

 

# Secure (SSL/TLS) connections

#Include conf/extra/httpd-ssl.conf

#

# Note: The following must must be present to support

#       starting without SSL on platforms with no /dev/random equivalent

#       but a statically compiled-in mod_ssl.

#

ssl_module>

SSLRandomSeed

startup builtin

SSLRandomSeed

connect builtin

#

# uncomment out the below to deal with user agents that deliberately

# violate open standards by misusing DNT (DNT *must* be a specific

# end-user choice)

#

#

#BrowserMatch “MSIE 10.0;” bad_DNT

#

#

#RequestHeader unset DNT env=bad_DNT

#

 

 

#IncludeOptional “c:/wamp/vhosts/*”

Include

“c:/wamp/alias/*”

 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/114163.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • OSPF协议总结(1)

    OSPF协议总结(1)

    2021年4月14日
    183
  • C语言浮点数表示法 / float表示法(浮点数表示方法)

    C语言浮点数表示法 / float表示法(浮点数表示方法)一直不太清楚C语言中浮点数是怎么表示的,这篇文章能回答我的问题?浮点表示法float共计32位(4字节)由最高到最低位分别是第31、30、29、……、0位31位是符号位,1表示该数为负,0反之30~23位,一共8位是指数位(-128~127)22~0位,一共23位是尾数位后更。。…

    2022年6月28日
    33
  • 简述Python垃圾回收机制「建议收藏」

    简述Python垃圾回收机制「建议收藏」引言许多高级语言都具有自己的垃圾回收机制,以管理计算机内存,Python也不例外。对于垃圾回收机制的了解程度,成了开发人员是否真正了解Python的检验手段,在面试的时候许多面试官也喜欢以此作为题目考察面试者Garbagecollection(GC)概述现在的高级语言如java,c#等,都采用了垃圾回收机制,而不再是c,c++里用户自己管理维护内存的方式。自己管理内存极其自由,可…

    2022年6月15日
    26
  • 分布式开放消息系统(RocketMQ)的原理与实践(转载)「建议收藏」

    分布式开放消息系统(RocketMQ)的原理与实践(转载)「建议收藏」文章转载自:简书:http://www.jianshu.com/p/453c6e7ff81c一年前为了一次内部分享而写的这篇文章,没想到会有这么多人阅读,抽空更新一版,对文中一些晦涩的语句做了修正,删除了一些口水话和附录内容,尽量给大家更好的阅读体验 (第二版更新于2017年春节)。分布式消息系统作为实现分布式系统可扩展、可伸缩性的关键组件,需要具有高吞吐量、高可用等特点。而谈到消

    2022年6月17日
    31
  • maven打包命令[通俗易懂]

    maven打包命令[通俗易懂]打包步骤是:清除,打包一般的maven项目打包命令是:mvncleanpackagemvnclean打包前清理掉之前有过打包的文件夹targetmvncompile项目编译mvnpackage开始项目打包执行这步可以不用执行compile了package包括了编译、打包这两步package完成后,会自动生成一个target文件,根据你编写的pom打包命令和assemb…

    2022年4月29日
    178
  • 可编辑的表格:jQuery+PHP实现实时编辑表格字段内容

    可编辑的表格:jQuery+PHP实现实时编辑表格字段内容

    2021年11月3日
    45

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号