如何解决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)
上一篇 2021年9月23日 上午10:00
下一篇 2021年9月23日 上午11:00


相关推荐

  • UML时序图(Sequence Diagram)学习笔记[通俗易懂]

    UML时序图(Sequence Diagram)学习笔记[通俗易懂]什么是时序图时序图(SequenceDiagram),又名序列图、循序图,是一种UML交互图。它通过描述对象之间发送消息的时间顺序显示多个对象之间的动态协作。时序图的元素我们在画时序图时会涉及7种元素:角色(Actor)、对象(Object)、生命线(LifeLine)、控制焦点(Activation)、消息(Message)、自关联消息、组合片段。其中前6种是比较常用和重要的元素,剩余的一种组…

    2025年8月25日
    15
  • VC++分别使用WinExec、CreateProcess、ShellExecute和ShellExecuteEx来启动程序(附源码)

    VC++分别使用WinExec、CreateProcess、ShellExecute和ShellExecuteEx来启动程序(附源码)本文详细讲述使用调用WinExec、CreateProcess、ShellExecute和ShellExecuteEx多个API函数来实现程序启动的方法。

    2022年7月11日
    23
  • LoadImage()的使用

    LoadImage()的使用

    2021年12月5日
    46
  • matlab中importdata函数导入数据 到工作空间[通俗易懂]

    用load函数导入mat文件大家都会。但是今天我拿到一个数据,文件后缀名居然是‘.data’。该怎么读呢?我只好用matlab界面Workspace区域的“importdata”按钮手工导入该文件。恩,还好,居然成功了。顺便提一下,这个“importdata”按钮功能很强大,连excel文件都能导入。但是如果在脚本里如何导入这种非mat文件呢?这时候就轮到“import

    2022年4月17日
    225
  • 弹性布局flex属性详解

    弹性布局flex属性详解注意 如果元素不是弹性盒模型对象的子元素 则 flex 属性不起作用 flex 属性用于设置或检索弹性盒模型对象的子元素如何分配空间 flex 属性是 和属性的简写属性

    2026年3月18日
    1
  • 软件测试常见面试题

    软件测试常见面试题伴随着疫情的好转,又到了一年收获的季节。最近也有一些面试,整理下常用的测试题目,没有标准答案,需要结合自身的工作实践去应答。功能测试相关1、测试流程以及对应阶段的输出有哪些?2、Bug的优先级

    2022年8月6日
    8

发表回复

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

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