简体   繁体   English

Apache的Timeout指令是否可以在htaccess中或内部 <VirtualHost> ?

[英]Is the Timeout directive of Apache overrideable in htaccess or inside of a <VirtualHost>?

I want to override the Timeout configuration of apache, only for one domain. 我只想为一个域覆盖apache的超时配置。 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. 我希望能够提供在htaccess中覆盖它的选项,但是在VirtualHost配置中手动配置它也可以。

Is this supposed to work? 这应该工作吗?

Thanks. 谢谢。

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 说明:服务器在失败请求之前等待某些事件的时间语法:TimeOut seconds默认:TimeOut 300上下文:服务器配置, 虚拟主机状态:核心模块:核心

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM