apache2:为什么<LimitExcept>参数结果“拒绝不允许在这里”的虚拟主机标记错误?
我已经提出了相同的问题stackoverflow,但后来我认为这可能是更多的相关在这里。 在apache的httpd.conf中的VirtualHost标签之间,我把<LimitExcept>expression式如下: <VirtualHost *:80> ServerName geopreprod.xxx.com.tr <LimitExcept HEAD POST GET> Deny from all </LimitExcept> ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://XXXXXXXX… ProxyPassReverse / http://XXXXXXXX…. </VirtualHost> 然后apache web服务器无法启动提供以下错误: Syntax error on line 513 of XXXXX/httpd.conf: deny not allowed here 虽然它说<LimitExcept>可以在主题文档中的VirtualHost标签中使用,为什么我会得到这个错误? 在Apache文档中说: Context: server config, virtual host, directory, .htaccess