Apache 的超时指令是否可以在 htaccess 中或内部重写?
我想覆盖apache的超时配置,仅针对一个域。我希望能够在 htaccess 中提供覆盖它的选项,但在 VirtualHost 配置中手动配置它也可以。
这应该有效吗?
谢谢。
I want to override the Timeout configuration of apache, only for one domain. I would prefer to be able to offer the option of overriding it in the htaccess, but manually configuring it in the VirtualHost configuration would be fine too.
Is this supposed to work?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的。
超时指令
描述:服务器在请求失败之前等待某些事件的时间
语法:超时秒数
默认值:超时 300
上下文:服务器配置,虚拟主机
状态:核心
模块:核心
Yes.
TimeOut Directive
Description: Amount of time the server will wait for certain events before failing a request
Syntax: TimeOut seconds
Default: TimeOut 300
Context: server config, virtual host
Status: Core
Module: core